AuthorizationException class

An Angel-friendly wrapper around OAuth2 ErrorResponse instances.

Inheritance
  • Object
  • AngelHttpException
  • AuthorizationException

Constructors

AuthorizationException(ErrorResponse errorResponse, {StackTrace? stackTrace, int? statusCode, dynamic error})

Properties

error ↔ dynamic
The error throw by exception.
getter/setter pairinherited
errorResponse ErrorResponse
final
errors List<String>
A list of errors that occurred when this exception was thrown.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
The cause of this exception.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
The StackTrace associated with this error.
getter/setter pairinherited
statusCode int
An HTTP status code this exception will throw.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
override
toMap() Map
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited