MastodonServerException class

Server error (HTTP 5xx).

Inheritance

Constructors

MastodonServerException({required int statusCode, String message = 'Server error', String? endpoint, Object? raw})
const

Properties

endpoint String?
API endpoint where the error occurred.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
raw Object?
Original exception or error object.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
finalinherited

Methods

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

Operators

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