Exception: UnacceptableCommand

Inherits:
Exception show all
Defined in:
lib/poolparty/exceptions/UnacceptableCommand.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Unacceptable command") ⇒ UnacceptableCommand

Returns a new instance of UnacceptableCommand.



2
3
4
# File 'lib/poolparty/exceptions/UnacceptableCommand.rb', line 2

def initialize(msg="Unacceptable command")
  @message = "Disallowed or unacceptable command error: #{msg}"
end