Exception: Colore::InvalidParameter

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(param = nil) ⇒ InvalidParameter

Returns a new instance of InvalidParameter.


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

def initialize param=nil; super 400, "Invalid parameter #{param}"; end