Exception: Colore::InvalidAction

Inherits:
Error
  • Object
show all
Defined in:
lib/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#http_code

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ InvalidAction

Returns a new instance of InvalidAction.


28
# File 'lib/errors.rb', line 28

def initialize message=nil; super 400, (message||'Invalid action') ; end