Exception: Mebla::Errors::MeblaFatal

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

Overview

Default parent Mebla error for all custom fatal errors.

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ MeblaFatal

Returns a new instance of MeblaFatal.



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

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