ErrorResponse class abstract

In the case of an error, a standard format error response body will be returned and the HTTP status code will be set to an error status. The response contains an object with a single error object.

Properties:

Constructors

ErrorResponse([void updates(ErrorResponseBuilder b)])
factory

Properties

error ErrorObject
no setter
hashCode int
The hash code for this object.
no setterinherited
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
rebuild(dynamic updates(ErrorResponseBuilder)) ErrorResponse
Rebuilds the instance.
inherited
toBuilder() ErrorResponseBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<ErrorResponse>
no setter