Sha256: c3b3c5d9e8d655f83192d9d6651415bec0f926835ea77816d6a2110d2d45ac0a

Contents?: true

Size: 434 Bytes

Versions: 19

Compression:

Stored size: 434 Bytes

Contents

# A wrapper for slingshot  elastic-search adapter for Mongoid
module Mebla
  # Represents the parent module for all errors in Mebla
  module Errors
    # Default parent Mebla error for all custom fatal errors.
    class MeblaFatal < ::StandardError
      def initialize(message)
        super message
        ::ActiveSupport::Notifications.
          instrument('mebla_fatal.mebla', :message => message)
      end
    end  
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
rmla-1.0 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.14 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.13 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.12 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.11 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.10 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.9 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.8 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.7 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.6 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.5 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.4 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.2 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.1 lib/mebla/errors/mebla_fatal.rb
mebla-1.1.0 lib/mebla/errors/mebla_fatal.rb
mebla-1.0.3 lib/mebla/errors/mebla_fatal.rb
mebla-1.0.2 lib/mebla/errors/mebla_fatal.rb
mebla-1.0.1 lib/mebla/errors/mebla_fatal.rb
mebla-1.0.0 lib/mebla/errors/mebla_fatal.rb