Class: RailsBase::Configuration::ExceptionsApp

Inherits:
Base
  • Object
show all
Defined in:
lib/rails_base/configuration/exceptions_app.rb

Constant Summary collapse

EXCEPTIONS_PROC =
Proc.new do |val, _instance|
  Rails.configuration.exceptions_app = val
end
DEFAULT_VALUES =
{
  exceptions_app: {
    type: :klass,
    klass_type: [ActionDispatch::Routing::RouteSet],
    default: nil,
    default_assign_on_boot: -> { Rails.application.routes },
    on_assignment: EXCEPTIONS_PROC,
    description: 'What route set to find the exceptions on.'
  }
}

Constants inherited from Base

Base::ALLOWED_TYPES

Method Summary

Methods inherited from Base

_allow_write_block?, _unset_allow_write!, #assign_default_values!, #dig, #initialize, #override_methods!, #validate!

Constructor Details

This class inherits a constructor from RailsBase::Configuration::Base