Exception: SnoozeForce::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- SnoozeForce::ResponseError
- Defined in:
- lib/snooze_force/errors.rb
Instance Method Summary collapse
-
#initialize(code, message) ⇒ ResponseError
constructor
A new instance of ResponseError.
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, ) super("#{code}: #{}") end |