Exception: FLGen::NoEntryError

Inherits:
FLGenError
  • Object
show all
Defined in:
lib/flgen/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(path, location) ⇒ NoEntryError

Returns a new instance of NoEntryError.



8
9
10
11
12
13
# File 'lib/flgen/exceptions.rb', line 8

def initialize(path, location)
  message =
    "no such file or directory -- #{path} " \
    "@#{location.path}:#{location.lineno}"
  super(message)
end