Exception: Fig::FileNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fig/file_not_found_error.rb

Overview

A (possibly remote) file that was looked for was not found. This may or may not actually be a problem; i.e. this may be the result of an existence test.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, path) ⇒ FileNotFoundError

Returns a new instance of FileNotFoundError.


10
11
12
13
14
# File 'lib/fig/file_not_found_error.rb', line 10

def initialize(message, path)
  super(message)

  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path


8
9
10
# File 'lib/fig/file_not_found_error.rb', line 8

def path
  @path
end