Exception: SnoozeForce::ResponseError

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

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ ResponseError

Returns a new instance of ResponseError.



4
5
6
# File 'lib/snooze_force/errors.rb', line 4

def initialize(code, message)
  super("#{code}: #{message}")
end