Class: Hutch::ErrorHandlers::Base

Inherits:
Object
  • Object
show all
Includes:
Logging
Defined in:
lib/hutch/error_handlers/base.rb

Direct Known Subclasses

Airbrake, Bugsnag, Honeybadger, Logger, Rollbar, Sentry, SentryRaven

Instance Method Summary collapse

Methods included from Logging

#logger, logger, logger=, setup_logger

Instance Method Details

#handle(properties, payload, consumer, ex) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/hutch/error_handlers/base.rb', line 6

def handle(properties, payload, consumer, ex)
  raise NotImplementedError.new
end

#handle_setup_exception(ex) ⇒ Object

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/hutch/error_handlers/base.rb', line 10

def handle_setup_exception(ex)
  raise NotImplementedError.new
end