View Source Witchcraft.Foldable.EmptyError exception (Witchcraft v1.0.6-doma)

Represent the error state of trying to fold over an empty structure

examples

Examples

iex> %Witchcraft.Foldable.EmptyError{}
%Witchcraft.Foldable.EmptyError{
  message: "Unable to process empty data",
  plug_status: 500
}

Link to this section Summary

Link to this section Types

@type t() :: %Witchcraft.Foldable.EmptyError{
  __exception__: term(),
  data: any(),
  message: String.t(),
  plug_status: pos_integer()
}

Link to this section Functions