Exception: Shikibu::TerminalError
- Defined in:
- lib/shikibu/errors.rb
Overview
Raised when an error should not be retried (terminal failure)
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(message, cause: nil) ⇒ TerminalError
constructor
A new instance of TerminalError.
Constructor Details
#initialize(message, cause: nil) ⇒ TerminalError
21 22 23 24 |
# File 'lib/shikibu/errors.rb', line 21 def initialize(, cause: nil) @cause = cause super() end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
19 20 21 |
# File 'lib/shikibu/errors.rb', line 19 def cause @cause end |