Exception: Fig::ConfigFileError

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

Overview

Could not determine some kind of information from a configuration file, whether .figrc, log4r, package.fig, etc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, file) ⇒ ConfigFileError

Returns a new instance of ConfigFileError.



11
12
13
14
15
16
17
# File 'lib/fig/config_file_error.rb', line 11

def initialize(message, file)
  super(message)

  @file = file

  return
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



9
10
11
# File 'lib/fig/config_file_error.rb', line 9

def file
  @file
end