AuthorizationException class

An Angel-friendly wrapper around OAuth2 ErrorResponse instances.

Inheritance

Constructors

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

Properties

error ↔ dynamic
read / write, inherited
errorResponse ErrorResponse
final
errors List<String>
A list of errors that occurred when this exception was thrown.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
message String
The cause of this exception.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackTrace StackTrace
The StackTrace associated with this error.
read / write, inherited
statusCode int
An HTTP status code this exception will throw.
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map
override
toMap() Map
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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