Exception: Sashite::Pmn::Error::Move

Inherits:
Sashite::Pmn::Error show all
Defined in:
lib/sashite/pmn/error.rb

Overview

Raised when a PMN move (sequence) is malformed or invalid.

Examples:

begin
  Sashite::Pmn::Move.new("e2")  # Incomplete action
rescue Sashite::Pmn::Error::Move => e
  warn "Invalid move sequence: #{e.message}"
end