UnauthorizedException constructor
const
UnauthorizedException(
- String message
The exception is thrown when an unauthorized request is made.
Response from the server:
{
"deatil": "Invalid secret key",
}
Implementation
const UnauthorizedException(String message) : super(message);