ecto_shorts v0.1.0 EctoShorts.Actions.Error behaviour

Link to this section Summary

Link to this section Types

Link to this type

t()
t() ::
  %{code: atom(), message: String.t()}
  | %{code: atom(), message: String.t(), details: map()}

Link to this section Functions

Link to this function

call(code, message, details)

Link to this function

create_error(code, message, details)

Link to this section Callbacks

Link to this callback

create_error(atom, arg2, map)
create_error(atom(), String.t(), map()) :: t()