Module: ExceptionHunter

Defined in:
lib/exception_hunter.rb,
lib/exception_hunter/config.rb,
lib/exception_hunter/engine.rb,
lib/exception_hunter/version.rb,
app/models/exception_hunter/error.rb,
app/models/exception_hunter/error_group.rb,
app/jobs/exception_hunter/application_job.rb,
app/helpers/exception_hunter/errors_helper.rb,
app/services/exception_hunter/error_creator.rb,
app/models/exception_hunter/application_record.rb,
lib/exception_hunter/middleware/request_hunter.rb,
lib/exception_hunter/middleware/request_hunter.rb,
lib/exception_hunter/middleware/sidekiq_hunter.rb,
lib/exception_hunter/user_attributes_collector.rb,
app/helpers/exception_hunter/application_helper.rb,
app/mailers/exception_hunter/application_mailer.rb,
app/presenters/exception_hunter/error_presenter.rb,
app/controllers/exception_hunter/errors_controller.rb,
app/controllers/exception_hunter/application_controller.rb,
lib/generators/exception_hunter/install/install_generator.rb,
lib/generators/exception_hunter/create_users/create_users_generator.rb

Defined Under Namespace

Modules: ApplicationHelper, ErrorsHelper, Middleware, UserAttributesCollector Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Config, CreateUsersGenerator, Engine, Error, ErrorCreator, ErrorGroup, ErrorPresenter, ErrorsController, InstallGenerator, Railtie

Constant Summary collapse

VERSION =
'0.2.0'.freeze

Class Method Summary collapse

Class Method Details

.routes(router) ⇒ Object



13
14
15
# File 'lib/exception_hunter.rb', line 13

def self.routes(router)
  router.mount(ExceptionHunter::Engine, at: 'exception_hunter')
end

.setup(&block) ⇒ Object



9
10
11
# File 'lib/exception_hunter.rb', line 9

def self.setup(&block)
  block.call(Config)
end