Sha256: 5ef2578d224a76e744fe6a4d38a6e23a76a599adf84ca178f61144018f2427b6

Contents?: true

Size: 434 Bytes

Versions: 15

Compression:

Stored size: 434 Bytes

Contents

# coding: utf-8

require 'fig/user_input_error'

module Fig
  # A problem with configuring Log4r.
  class Log4rConfigError < UserInputError
    attr_reader :config_file, :original_exception

    def initialize(config_file, original_exception)
      super(
        %Q<Problem with #{config_file}: #{original_exception.message}>
      )

      @config_file = config_file
      @original_exception = original_exception
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
fig-1.27.10 lib/fig/log4r_config_error.rb
fig-1.27.8 lib/fig/log4r_config_error.rb
fig-1.27.5 lib/fig/log4r_config_error.rb
fig-1.27.4 lib/fig/log4r_config_error.rb
fig-1.27.3 lib/fig/log4r_config_error.rb
fig-1.27.0 lib/fig/log4r_config_error.rb
fig-1.26.1.beta.1 lib/fig/log4r_config_error.rb
fig-1.26.0 lib/fig/log4r_config_error.rb
fig-1.25.1.beta.1 lib/fig/log4r_config_error.rb
fig-1.25.0 lib/fig/log4r_config_error.rb
fig-1.24.1.beta.3 lib/fig/log4r_config_error.rb
fig-1.24.1.beta.2 lib/fig/log4r_config_error.rb
fig-1.24.1.beta.1 lib/fig/log4r_config_error.rb
fig-1.24.0 lib/fig/log4r_config_error.rb
fig-1.23.1.beta.1 lib/fig/log4r_config_error.rb