UnauthorizedException constructor

UnauthorizedException(
  1. String message, {
  2. dynamic details,
})

Implementation

UnauthorizedException(
  super.message, {
  super.details,
}) : super(
        statusCode: 401,
        title: 'Unauthorized',
        type: 'unauthorized',
      );