View Source Xod.XodError exception (Xod v0.1.0)

An error encountered during schema validation.

Link to this section Summary

Link to this section Types

@type issue() :: [
  type: atom(),
  path: Xod.Common.path(),
  message: binary() | nil,
  data: keyword()
]
@type t() :: %Xod.XodError{__exception__: true, issues: [issue()]}

Link to this section Functions

Link to this function

%Xod.XodError{}

View Source (struct)

The error struct.

issues contains a list of issues encountered while validating a schema

Link to this function

invalid_type(expected, got, path)

View Source
@spec invalid_type(atom(), atom(), Xod.Common.path()) :: t()