Exception: IERS::FileNotFoundError

Inherits:
DataError show all
Defined in:
lib/iers/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, path: nil) ⇒ FileNotFoundError

Returns a new instance of FileNotFoundError.



25
26
27
28
# File 'lib/iers/errors.rb', line 25

def initialize(message = nil, path: nil)
  @path = path
  super(message)
end

Instance Attribute Details

#pathPathname? (readonly)

Returns:

  • (Pathname, nil)


23
24
25
# File 'lib/iers/errors.rb', line 23

def path
  @path
end