Exception: Micro::Case::Error::SafeFeaturesDisabled

Inherits:
StandardError
  • Object
show all
Defined in:
lib/micro/case/error.rb

Instance Method Summary collapse

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