predicator v0.8.1 Predicator.InstructionNotCompleteError

Error struct returned by Instruction Not Complete Error.

iex> %Predicator.InstructionNotCompleteError{} %Predicator.InstructionNotCompleteError{error: "Instruction must have evaluation rule after a type conversion", instructions: nil, stack: nil, instruction_pointer: nil}

Link to this section Summary

Link to this section Types

Link to this type

t()

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

Link to this section Functions

Link to this function

inst_not_complete_error(machine)

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