Exception: Bugsink::Client::ClientError
- Inherits:
-
StandardError
- Object
- StandardError
- Bugsink::Client::ClientError
- Defined in:
- lib/bugsink/client.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, code: nil, response: nil) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(message, code: nil, response: nil) ⇒ ClientError
Returns a new instance of ClientError.
16 17 18 19 20 |
# File 'lib/bugsink/client.rb', line 16 def initialize(, code: nil, response: nil) super() @code = code @response = response end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
14 15 16 |
# File 'lib/bugsink/client.rb', line 14 def code @code end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
14 15 16 |
# File 'lib/bugsink/client.rb', line 14 def response @response end |