Exception: Flipper::InvalidConfigurationValue

Inherits:
Error
  • Object
show all
Defined in:
lib/flipper/errors.rb

Overview

Raised when an invalid value is set to a configuration property

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ InvalidConfigurationValue

Returns a new instance of InvalidConfigurationValue.



27
28
29
30
# File 'lib/flipper/errors.rb', line 27

def initialize(message = nil)
  default = "Configuration value is not valid."
  super(message || default)
end