ErrorResponse class abstract

Abstract class representing a standardized error response.

Implementers

Constructors

ErrorResponse()

Properties

error String
A short error code or summary.
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
A detailed human-readable error message.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
The HTTP status code of the error response.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the error response into a JSON object.
toString() String
String representation of the error response.
override

Operators

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