Exception: Fig::Log4rConfigError

Inherits:
UserInputError show all
Defined in:
lib/fig/log4rconfigerror.rb

Overview

A problem with configuring Log4r.

Instance Method Summary collapse

Constructor Details

#initialize(config_file, original_exception) ⇒ Log4rConfigError

Returns a new instance of Log4rConfigError.



6
7
8
9
10
11
12
13
# File 'lib/fig/log4rconfigerror.rb', line 6

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

  @config_file = config_file
  @original_exception = original_exception
end