Exception: Aws::KCLrb::CheckpointError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Aws::KCLrb::CheckpointError
- Defined in:
- lib/aws/kclrb/checkpointer.rb
Overview
Error class used for wrapping exception names passed through the input stream.
Instance Attribute Summary collapse
-
#value ⇒ String
readonly
The name of the exception wrapped by this instance.
Instance Method Summary collapse
-
#initialize(value) ⇒ CheckpointError
constructor
A new instance of CheckpointError.
-
#to_s ⇒ String
The name of the wrapped exception.
Constructor Details
#initialize(value) ⇒ CheckpointError
Returns a new instance of CheckpointError.
21 22 23 |
# File 'lib/aws/kclrb/checkpointer.rb', line 21 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ String (readonly)
Returns the name of the exception wrapped by this instance.
14 15 16 |
# File 'lib/aws/kclrb/checkpointer.rb', line 14 def value @value end |
Instance Method Details
#to_s ⇒ String
Returns the name of the wrapped exception.
26 27 28 |
# File 'lib/aws/kclrb/checkpointer.rb', line 26 def to_s @value.to_s end |