Exception: Mebla::Errors::MeblaError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mebla/errors/mebla_error.rb

Overview

Default parent Mebla error for all custom non-fatal errors.

Direct Known Subclasses

MeblaSynchronizationException

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ MeblaError

Returns a new instance of MeblaError.



7
8
9
10
11
# File 'lib/mebla/errors/mebla_error.rb', line 7

def initialize(message)
  super message
  ::ActiveSupport::Notifications.
    instrument('mebla_error.mebla', :message => message)
end