Exception: Orcid::RemoteServiceError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Orcid::RemoteServiceError
- Defined in:
- lib/orcid/exceptions.rb
Overview
Because in trouble shooting what all goes into this remote call, you may very well want all of this.
Instance Method Summary collapse
-
#initialize(options) ⇒ RemoteServiceError
constructor
A new instance of RemoteServiceError.
Constructor Details
#initialize(options) ⇒ RemoteServiceError
Returns a new instance of RemoteServiceError.
12 13 14 15 16 17 18 19 20 |
# File 'lib/orcid/exceptions.rb', line 12 def initialize() text = [] text << "-- Client --" ([:client], text) append_token([:token], text) append_request(, text) append_response(, text) super(text.join("\n")) end |