Raxol. Harness. Fixture. DecodeError exception
(Raxol v2.8.0)
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.
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() }