ZapError class

Host → agent: structural rejection (the auxiliary type).

Inheritance

Constructors

ZapError({required String id, required String ts, required String code, required String message, String? inReplyTo, List<String>? details})
const

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 (zap first — 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