Rupa.SchemaError exception (rupa v0.1.0)

Copy Markdown View Source

Raised by the bang variants when a schema is not well formed.

Carries every error found, not just the first: a schema is small enough to check completely, and a list of five problems is worth more than five runs.

Summary

Types

t()

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