UnauthorizedException constructor
Current user has not been authenticated and has attempted to access protected resources. Perhaps the user needs to authenticate.
Implementation
UnauthorizedException({String? url, String? message, String? method, Exception? cause}) : super(401, url: url, message: message, method: method, cause: cause);