Exception: FeatBit::OpenFeature::ContextConverter::InvalidContext

Inherits:
StandardError
  • Object
show all
Defined in:
lib/featbit/openfeature/context_converter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error_code, message) ⇒ InvalidContext

Returns a new instance of InvalidContext.



9
10
11
12
# File 'lib/featbit/openfeature/context_converter.rb', line 9

def initialize(error_code, message)
  @error_code = error_code
  super(message)
end

Instance Attribute Details

#error_code ⇒ Object (readonly)

Returns the value of attribute error_code.



7
8
9
# File 'lib/featbit/openfeature/context_converter.rb', line 7

def error_code
  @error_code
end