ZapError class
Host → agent: structural rejection (the auxiliary type).
- Inheritance
-
- Object
- ZapMessage
- ZapError
Constructors
Properties
- code → String
-
final
-
details
→ List<
String> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Envelope: message id.
finalinherited
- inReplyTo → String?
-
final
- message → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ts → String
-
Envelope: ISO-8601 UTC timestamp.
finalinherited
- type → String
-
The wire type of this message.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Wire form with stable key order (
zapfirst — the envelope reads top-down).override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValidated(
Map< String, Object?> json) → ZapError