ErrorDescription class
Serializeable error description. It is use to pass information about errors between microservices implemented in different languages. On the receiving side ErrorDescription is used to recreate exception object close to its original type without missing additional details.
Constructors
Properties
- category ↔ String
-
Standard error category
read / write
- cause ↔ String
-
Original error wrapped by this exception
read / write
- code ↔ String
-
A unique error code
read / write
- correlation_id ↔ String
-
A unique transaction id to trace execution throug call chain
read / write
- details ↔ StringValueMap
-
A map with additional details that can be used to restore error description in other languages
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- message ↔ String
-
A human-readable error description (usually written in English)
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- stack_trace ↔ String
-
Stack trace of the exception
read / write
- status ↔ int
-
HTTP status code associated with this error type
read / write
- type ↔ String
-
Data type of the original error
read / write
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited