AuthenticationException constructor

AuthenticationException({
  1. required AuthenticationErrorReason reason,
  2. String code = authenticationErrorCode,
  3. String? message,
  4. dynamic details,
  5. String? stacktrace,
})

Creates an exception with the reason why the user was not authenticated.

Implementation

AuthenticationException({
  required this.reason,
  super.code = authenticationErrorCode,
  super.message,
  super.details,
  super.stacktrace,
});