Class: ZendeskAPI::Error::ClientError
- Inherits:
-
Faraday::ClientError
- Object
- Faraday::ClientError
- ZendeskAPI::Error::ClientError
- Defined in:
- lib/zendesk_api/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#wrapped_exception ⇒ Object
readonly
Returns the value of attribute wrapped_exception.
Instance Method Summary collapse
Instance Attribute Details
#wrapped_exception ⇒ Object (readonly)
Returns the value of attribute wrapped_exception.
5 6 7 |
# File 'lib/zendesk_api/error.rb', line 5 def wrapped_exception @wrapped_exception end |
Instance Method Details
#to_s ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/zendesk_api/error.rb', line 7 def to_s if response "#{super} -- #{response.method} #{response.url}" else super end end |