Exception: OpenFeature::OFREP::InvalidOptionError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenFeature::OFREP::InvalidOptionError
- Defined in:
- lib/openfeature/ofrep/provider/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.
34 35 36 37 38 |
# File 'lib/openfeature/ofrep/provider/errors.rb', line 34 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.
32 33 34 |
# File 'lib/openfeature/ofrep/provider/errors.rb', line 32 def error_code @error_code end |
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
32 33 34 |
# File 'lib/openfeature/ofrep/provider/errors.rb', line 32 def @error_message end |