BuErrorCodec class abstract final

CBOR codec for BuError. Lives in blockchain_utils (not the connector) so the base stays serialization-free. Wire format: CborTag(identifier) wrapping [message, details], plus 5 extra slots for RpcError. Tag id == BuErrorType.id by construction.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

decode({List<int>? bytes, CborObject<Object?>? object, String? hex}) → BuError
encode(BuError e) → CborTagValue<CborObject<Object?>>
lookupType(int identifier) → BuErrorType?
registerTypes(Iterable<BuErrorType> types) → void
Register chain-specific enums for decoding. Core types are pre-registered.