UnauthorizedException class

This exception is thrown to indicate that the specified access token was not authorized by the server as a result of its use in the request.

Inheritance

Constructors

UnauthorizedException(String message, [BaseResponse? response])
Returns the new instance of UnauthorizedException.

Properties

body → String?
The body of the response.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
message → String
The error message
finalinherited
response → BaseResponse
The response from the Twitter API.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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