predicator v0.8.1 Predicator.ValueError

Error struct returned by Value Error Types.

iex> %Predicator.ValueError{} %Predicator.ValueError{error: "Non valid load value to evaluate", instructions: nil, stack: nil, instruction_pointer: nil}

Link to this section Summary

Link to this section Types

Link to this type

t()

t() :: %Predicator.ValueError{
  error: String.t(),
  instruction_pointer: non_neg_integer(),
  instructions: list(),
  opts: list(),
  stack: list()
}

Link to this section Functions

Link to this function

value_error(machine)

value_error(Predicator.Machine.t()) :: {:error, t()}