module Contingency::Adapters::Interface::ClassMethods

Public Instance Methods

catch_errors?() click to toggle source
# File lib/contingency/adapters/interface.rb, line 9
def catch_errors?
  raise InterfaceNotImplementedError,
    "Override this `catch_errors?` method" \
    " with one that decides if your framework should activate" \
    " Contingency or not (ie `ENV[RACK_ENV] !== 'development'`)."
end