Rupa.DecodeError exception (rupa v0.1.0)

Copy Markdown View Source

Raised by Rupa.decode!/3 when the data does not match the schema.

Carries every error the decode produced — one, under the default on_error: :halt.

Summary

Types

t()

@type t() :: %Rupa.DecodeError{__exception__: term(), errors: [Rupa.Error.t()]}