UnauthorizedException constructor
const
UnauthorizedException(
- String message
Creates an UnauthorizedException with the specified message
.
The message
is a human-readable description of the unauthorized error.
Implementation
const UnauthorizedException(String message)
: super(message, HttpStatus.unauthorized);