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

Raised when the validation of a Grax fails.

Link to this section Summary

Link to this section Types

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

Link to this section 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.