Module: ExceptionHunter

Extended by:
Tracking
Defined in:
lib/exception_hunter.rb,
lib/exception_hunter/config.rb,
lib/exception_hunter/devise.rb,
lib/exception_hunter/engine.rb,
lib/exception_hunter/version.rb,
lib/exception_hunter/tracking.rb,
app/models/exception_hunter/error.rb,
lib/exception_hunter/error_reaper.rb,
lib/exception_hunter/error_creator.rb,
app/models/exception_hunter/error_group.rb,
app/jobs/exception_hunter/application_job.rb,
app/helpers/exception_hunter/errors_helper.rb,
app/helpers/exception_hunter/sessions_helper.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,
lib/exception_hunter/middleware/delayed_job_hunter.rb,
app/presenters/exception_hunter/dashboard_presenter.rb,
app/presenters/exception_hunter/error_group_presenter.rb,
app/controllers/concerns/exception_hunter/authorization.rb,
app/controllers/exception_hunter/application_controller.rb,
lib/generators/exception_hunter/install/install_generator.rb,
app/controllers/exception_hunter/resolved_errors_controller.rb,
lib/generators/exception_hunter/create_users/create_users_generator.rb

Defined Under Namespace

Modules: ApplicationHelper, Authorization, Devise, ErrorsHelper, Middleware, SessionsHelper, Tracking, UserAttributesCollector Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Config, CreateUsersGenerator, DashboardPresenter, Engine, Error, ErrorCreator, ErrorGroup, ErrorGroupPresenter, ErrorPresenter, ErrorReaper, ErrorsController, InstallGenerator, Railtie, ResolvedErrorsController

Constant Summary collapse

VERSION =
'0.4.2'.freeze

Class Method Summary collapse

Methods included from Tracking

track

Class Method Details

.routes(router) ⇒ Object



20
21
22
23
24
# File 'lib/exception_hunter.rb', line 20

def self.routes(router)
  return unless Config.enabled

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

.setup(&block) ⇒ Object



16
17
18
# File 'lib/exception_hunter.rb', line 16

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