class JsonErrors::Config

Main config class. It brings all the customizable params.

Attributes

custom_codes[RW]
error_dictionary[RW]

Public Class Methods

missing_config_error_meesage() click to toggle source
# File lib/json_errors/config.rb, line 12
    def self.missing_config_error_meesage
      <<~'MSG'
        Configuration is missing. Run the generattor: `bundle exec rails g json_errors::install`
        or create the initializer yourself.
        Check out the README https://github.com/nomtek/JsonErrors/blob/main/README.md
      MSG
    end