UnauthorizedException constructor

UnauthorizedException(
  1. String message, [
  2. BaseResponse? response
])

Returns the new instance of UnauthorizedException.

Implementation

UnauthorizedException(
  final String message, [
  final BaseResponse? response,
]) : super(message, response ?? Response('', 401));