View Source Grax.ValidationError exception (Grax v0.5.0)

Raised when the validation of a Grax fails.

Summary

Types

@type t() :: %Grax.ValidationError{
  __exception__: true,
  context: any(),
  errors: list()
}

Functions

Link to this function

add_error(validation_error, property, error)

View Source
Link to this function

message(validation_error)

View Source

Callback implementation for Exception.message/1.