A typed catalog validation error with a path to the invalid field.
Summary
Types
@type reason() ::
:required
| :invalid_type
| :invalid_base64
| :out_of_range
| :unsupported
| :invalid_json
| :invalid_shape
@type t() :: %MOQX.Catalog.Error{ __exception__: true, path: [atom() | non_neg_integer()], reason: reason(), value: term() }