Exception: Panda::APIError

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

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ APIError

Returns a new instance of APIError.



6
7
8
# File 'lib/panda/errors.rb', line 6

def initialize(options)
  super("#{options['error']}: #{options['message']}")
end