Class: Slack::Web::Api::Errors::ServerError
- Inherits:
-
Faraday::Error
- Object
- Faraday::Error
- Slack::Web::Api::Errors::ServerError
- Defined in:
- lib/slack/web/api/errors/server_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ ServerError
constructor
A new instance of ServerError.
Constructor Details
#initialize(message, response) ⇒ ServerError
Returns a new instance of ServerError.
9 10 11 12 |
# File 'lib/slack/web/api/errors/server_error.rb', line 9 def initialize(, response) @response = response super end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
7 8 9 |
# File 'lib/slack/web/api/errors/server_error.rb', line 7 def response @response end |