lib/flipper/errors.rb in flipper-0.14.0 vs lib/flipper/errors.rb in flipper-0.15.0
- old
+ new
@@ -27,6 +27,14 @@
def initialize(message = nil)
default = "Configuration value is not valid."
super(message || default)
end
end
+
+ # Raised when accessing a configuration property that has been deprecated
+ class ConfigurationDeprecated < Flipper::Error
+ def initialize(message = nil)
+ default = "The configuration property has been deprecated"
+ super(message || default)
+ end
+ end
end