AuthException constructor
Creates an authentication exception
message A human-readable description of the authentication error
statusCode HTTP status code (defaults to 401 for auth errors)
stackTrace Optional stack trace for debugging purposes
Implementation
AuthException(super.message, {super.statusCode = 401, String? stackTrace})
: super(
title: 'Authentication Error',
type: 'auth_error',
details: stackTrace,
);