Exception: OpenFeature::GoFeatureFlag::InvalidOptionError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenFeature::GoFeatureFlag::InvalidOptionError
- Defined in:
- lib/openfeature/go-feature-flag/error/errors.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
Instance Method Summary collapse
-
#initialize(error_code, error_message) ⇒ InvalidOptionError
constructor
A new instance of InvalidOptionError.
Constructor Details
#initialize(error_code, error_message) ⇒ InvalidOptionError
Returns a new instance of InvalidOptionError.
33 34 35 36 37 |
# File 'lib/openfeature/go-feature-flag/error/errors.rb', line 33 def initialize(error_code, ) @error_code = error_code @error_message = super() end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
31 32 33 |
# File 'lib/openfeature/go-feature-flag/error/errors.rb', line 31 def error_code @error_code end |
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
31 32 33 |
# File 'lib/openfeature/go-feature-flag/error/errors.rb', line 31 def @error_message end |