class Twisty::TwistyError

Super-class of GameError and PlayError. Do not use directly

Attributes

message[R]

(String) Message detailing the exception

Public Class Methods

new(s) click to toggle source

Initialiser

s

(String) Contents of TwistyError.message

# File lib/twisty/error.rb, line 20
def initialize(s)
        @message = s
end