Exception: Blitz::Curl::Error::Step
- Inherits:
-
Region
- Object
- StandardError
- Blitz::Curl::Error
- Region
- Blitz::Curl::Error::Step
- Defined in:
- lib/blitz/curl/error.rb
Overview
This exception is raised when a particular step fails in some ways
Instance Attribute Summary collapse
-
#step ⇒ Object
readonly
The step index where the error occurred.
-
#steps ⇒ Object
readonly
An array of Blitz::Curl::Sprint::Step objects each containing requests and [potentially] responses.
Attributes inherited from Region
Instance Method Summary collapse
-
#initialize(json) ⇒ Step
constructor
:nodoc:.
Constructor Details
Instance Attribute Details
#step ⇒ Object (readonly)
The step index where the error occurred
57 58 59 |
# File 'lib/blitz/curl/error.rb', line 57 def step @step end |
#steps ⇒ Object (readonly)
An array of Blitz::Curl::Sprint::Step objects each containing requests and [potentially] responses. Depending on which step of the transaction the failure was, this array could potentially be empty
62 63 64 |
# File 'lib/blitz/curl/error.rb', line 62 def steps @steps end |