Exception: Micro::Case::Error::SafeFeaturesDisabled
- Inherits:
-
StandardError
- Object
- StandardError
- Micro::Case::Error::SafeFeaturesDisabled
- Defined in:
- lib/micro/case/error.rb
Instance Method Summary collapse
-
#initialize(context) ⇒ SafeFeaturesDisabled
constructor
A new instance of SafeFeaturesDisabled.
Constructor Details
#initialize(context) ⇒ SafeFeaturesDisabled
Returns a new instance of SafeFeaturesDisabled.
55 56 57 58 59 60 |
# File 'lib/micro/case/error.rb', line 55 def initialize(context) super( "#{context} can't be used because the safe features are disabled. " \ "To re-enable them, set `config.disable_safe_features = false`." ) end |