Exception: Strelka::RequestError
- Defined in:
- lib/strelka/exceptions.rb
Overview
An exception that's raised when there's a problem with a Request.
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
The request that caused the exception.
Instance Method Summary collapse
-
#initialize(request, message, *args) ⇒ RequestError
constructor
Create a new RequestError for the specified
requestobject.
Constructor Details
#initialize(request, message, *args) ⇒ RequestError
Create a new RequestError for the specified request object.
15 16 17 18 |
# File 'lib/strelka/exceptions.rb', line 15 def initialize( request, , *args ) @request = request super( , *args ) end |
Instance Attribute Details
#request ⇒ Object (readonly)
The request that caused the exception
21 22 23 |
# File 'lib/strelka/exceptions.rb', line 21 def request @request end |