lib/flipper/errors.rb in flipper-0.12.2 vs lib/flipper/errors.rb in flipper-0.13.0.beta1
- old
+ new
@@ -19,6 +19,14 @@
default = "Default flipper instance not configured. See " \
"Flipper.configure for how to configure the default instance."
super(message || default)
end
end
+
+ # Raised when an invalid value is set to a configuration property
+ class InvalidConfigurationValue < Flipper::Error
+ def initialize(message = nil)
+ default = "Configuration value is not valid."
+ super(message || default)
+ end
+ end
end