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.



31
32
33
# File 'lib/aws/kclrb/checkpointer.rb', line 31

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.



24
25
26
# File 'lib/aws/kclrb/checkpointer.rb', line 24

def value
  @value
end

Instance Method Details

#to_sString

Returns the name of the wrapped exception.

Returns:

  • (String)

    the name of the wrapped exception.



36
37
38
# File 'lib/aws/kclrb/checkpointer.rb', line 36

def to_s
  @value.to_s
end