UnAuthorizedException constructor
const
UnAuthorizedException({
- required String message,
- StackTrace? stackTrace,
Exception thrown when a api is missing Authorization header.
Implementation
const UnAuthorizedException({
required super.message,
super.stackTrace,
}) : super(code: 401);