Exception: AmbiguousValueError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tektite_ruby_utils/present.rb

Overview

Error class communicating that because PresentClass is ambiguous, it should not be converted to other data types to avoid confusion between present and the actual value represented.

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Value exists, but is unspecified, unknown, or secret.') ⇒ AmbiguousValueError

Returns a new instance of AmbiguousValueError.



49
50
51
# File 'lib/tektite_ruby_utils/present.rb', line 49

def initialize(msg = 'Value exists, but is unspecified, unknown, or secret.')
  super
end