Exception: 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.
34 35 36 37 38 39 40 41 42 |
# File 'lib/orcid/exceptions.rb', line 34 def initialize() text = [] text << "-- Client --" ([:client], text) append_token([:token], text) append_request(, text) append_response(, text) super(text.join("\n")) end |