Raxol. Harness. Fixture. DecodeError exception
(Raxol v2.6.1)
View Source
Typed decode error for a malformed harness fixture line.
Fixture decoding is loud-reject: a structurally invalid line is a typed
error, never a silently-skipped line or a partially-applied record (per
docs/proposals/in-flight/harness-ui-testing/06-projection.md §1.2 and
the validation-seam discipline in harness-spec-protocol.md §6).
Summary
Types
@type reason() ::
:invalid_json
| :not_an_object
| :missing_record_type
| :unknown_record_type
| :missing_field
| :invalid_field_type
| :invalid_field_value
| :unknown_event_type
| :unsupported_schema
| :unsupported_envelope_version
| :missing_header
| :duplicate_header
| :envelope_before_header
| :blank_line
| :file_error
@type t() :: %Raxol.Harness.Fixture.DecodeError{ __exception__: term(), details: term(), offset: pos_integer() | nil, reason: reason() }