Exception: Aws::KCLrb::CheckpointError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/aws/kclrb/checkpointer.rb

Overview

Error class used for wrapping exception names passed through the input stream.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ CheckpointError

Returns a new instance of CheckpointError.

Parameters:

  • value (String)

    The name of the exception that was received while checkpointing. For more details see KCL exceptions. Any of these exception names could be returned by the MultiLangDaemon as a response to a checkpoint action.



21
22
23
# File 'lib/aws/kclrb/checkpointer.rb', line 21

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueString (readonly)

Returns the name of the exception wrapped by this instance.

Returns:

  • (String)

    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_sString

Returns the name of the wrapped exception.

Returns:

  • (String)

    the name of the wrapped exception.



26
27
28
# File 'lib/aws/kclrb/checkpointer.rb', line 26

def to_s
  @value.to_s
end