UnauthorizedException constructor
UnauthorizedException({
- bool silent = false,
- List<
String> messages = const [], - DioException? exception,
Creates a new instance of UnauthorizedException.
Optionally accepts parameters to specify if the exception should be silent, a list of messages explaining the reason for the unauthorized access, and any underlying DioException that provides further details regarding the authorization failure.
Implementation
UnauthorizedException({
super.silent,
super.messages,
super.exception,
});