Exception: Slacks::ResponseError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Slacks::ResponseError
- Defined in:
- lib/slacks/errors.rb
Instance Method Summary collapse
-
#initialize(response, message) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(response, message) ⇒ ResponseError
Returns a new instance of ResponseError.
11 12 13 14 |
# File 'lib/slacks/errors.rb', line 11 def initialize(response, ) super additional_information[:response] = response end |