Exception: Kobako::Wire::Codec::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Kobako::Wire::Codec::Error
- Defined in:
- lib/kobako/wire/codec/error.rb
Overview
Base class for all wire-codec faults raised by the pure-Ruby host codec.
The wire codec implements the binary contract pinned in SPEC.md (Wire Codec → Type Mapping). Every wire violation surfaces as a subclass of Error so callers can pattern-match on the specific fault while still rescuing all codec faults via this base class.
Higher layers (e.g. the Sandbox dispatch loop) translate these into the public SandboxError / TrapError taxonomy.