Class: ErrorStalker::Backend::Base
- Inherits:
-
Object
- Object
- ErrorStalker::Backend::Base
- Defined in:
- lib/error_stalker/backend/base.rb
Overview
The base class for exception logger backends. All backends should inherit from this class and implement the report method.
Instance Method Summary collapse
-
#report(exception_report) ⇒ Object
Store an exception report into this backend.
Instance Method Details
#report(exception_report) ⇒ Object
Store an exception report into this backend. Subclasses should override this method. exception_report is an ErrorStalker::ExceptionReport instance.
10 11 12 |
# File 'lib/error_stalker/backend/base.rb', line 10 def report(exception_report) raise NotImplementedError, "This method must be overridden in subclasses" end |