NotAuthorizedException constructor

const NotAuthorizedException(
  1. String message, {
  2. String? recoverySuggestion,
  3. String? underlyingException,
})

Exception thrown when a user isn't authorized to access the requested resource.

Implementation

const NotAuthorizedException(
  String message, {
  String? recoverySuggestion,
  String? underlyingException,
}) : super(
        message,
        recoverySuggestion: recoverySuggestion,
        underlyingException: underlyingException,
      );