ErrorObject class abstract

ErrorObject

Properties:

  • code - This is the same as the HTTP status of the response.
  • message - A short description of the error.
  • errors - A list of errors which occurred. Each error contains an identifier for the type of error and a short description.
  • status - A status code that indicates the error type.

Constructors

ErrorObject([void updates(ErrorObjectBuilder b)])
factory

Properties

code num
This is the same as the HTTP status of the response.
no setter
errors → BuiltList<ErrorDetail>
A list of errors which occurred. Each error contains an identifier for the type of error and a short description.
no setter
hashCode int
The hash code for this object.
no setterinherited
message String
A short description of the error.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
A status code that indicates the error type.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(ErrorObjectBuilder)) ErrorObject
Rebuilds the instance.
inherited
toBuilder() ErrorObjectBuilder
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<ErrorObject>
no setter