Witchcraft.Foldable.EmptyError exception (Witchcraft v1.0.4) View Source
Represent the error state of trying to fold over an empty structure
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
Specs
t() :: %Witchcraft.Foldable.EmptyError{
__exception__: term(),
data: any(),
message: String.t(),
plug_status: pos_integer()
}