Predicator.ValueError (Predicator v0.9.2) View Source

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

Specs

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

Link to this section Functions

Specs

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