GenericError class abstract
GenericError
Properties:
- code - The status code
- debug - Debug information This field is often not exposed to protect against leaking sensitive information.
- details - Further error details
- id - The error ID Useful when trying to identify various errors in application logic.
- message - Error message The error's message.
- reason - A human-readable reason for the error
- request - The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
- status - The status description
- Annotations
-
- @BuiltValue()
Constructors
- GenericError([void updates(dynamic b)])
-
factory
Properties
- code → int?
-
The status code
no setter
- debug → String?
-
Debug information This field is often not exposed to protect against leaking sensitive information.
no setter
- details → JsonObject?
-
Further error details
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The error ID Useful when trying to identify various errors in application logic.
no setter
- message → String
-
Error message The error's message.
no setter
- reason → String?
-
A human-readable reason for the error
no setter
- request → String?
-
The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
The status description
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(dynamic)) → GenericError -
Rebuilds the instance.
inherited
-
toBuilder(
) → dynamic -
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<
GenericError> -
no setter