MastodonValidationException class

Validation error (HTTP 422).

The request content is invalid.

Holds the error details returned by the server in serverMessage.

Inheritance
Implementers

Constructors

MastodonValidationException({String message = 'Unprocessable entity', String? endpoint, Object? raw, String? serverMessage})
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
serverMessage String?
Raw error message returned by the server.
final
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