Exception: Flipper::DefaultNotSet
- Defined in:
- lib/flipper/errors.rb
Overview
Raised when default instance not configured but there is an attempt to use it.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ DefaultNotSet
constructor
A new instance of DefaultNotSet.
Constructor Details
#initialize(message = nil) ⇒ DefaultNotSet
Returns a new instance of DefaultNotSet.
18 19 20 21 22 |
# File 'lib/flipper/errors.rb', line 18 def initialize( = nil) default = "Default flipper instance not configured. See " \ "Flipper.configure for how to configure the default instance." super( || default) end |