Structurally invalid serialized input: protobuf wire bytes that are truncated
or malformed, or JSON text that is not well-formed for the target. The
:format field discriminates :wire from :json. See PB.Error.
Summary
Types
@type kind() :: :malformed | :malformed_json | :duplicate_field
Which structural-decode failure this is.
@type t() :: %PB.DecodeError{ __exception__: true, details: map(), format: :wire | :json | nil, kind: kind() | nil, message_name: atom() | nil, operation: PB.Error.operation() | nil, path: [PB.Error.path_element()], reason: term() }