Exception: OpenFeature::GoFeatureFlag::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenFeature::GoFeatureFlag::ParseError
- 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.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(response) ⇒ ParseError
Returns a new instance of ParseError.
55 56 57 58 59 60 61 |
# File 'lib/openfeature/go-feature-flag/error/errors.rb', line 55 def initialize(response) = "Parse error" @response = response @error_code = SDK::Provider::ErrorCode::PARSE_ERROR @error_message = super() end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
53 54 55 |
# File 'lib/openfeature/go-feature-flag/error/errors.rb', line 53 def error_code @error_code end |
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
53 54 55 |
# File 'lib/openfeature/go-feature-flag/error/errors.rb', line 53 def @error_message end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
53 54 55 |
# File 'lib/openfeature/go-feature-flag/error/errors.rb', line 53 def response @response end |