Exception: Kiba::Extend::Registry::RegisteredFile::NoFilePathError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kiba/extend/registry/registered_file.rb

Overview

Exception raised if no path is given in FileRegistry hash

Since:

  • 2.2.0

Instance Method Summary collapse

Constructor Details

#initialize(filekey) ⇒ NoFilePathError

Returns a new instance of NoFilePathError.

Parameters:

  • filekey (Symbol)

    key for which a file path was not found in FileRegistry

Since:

  • 2.2.0



14
15
16
17
18
# File 'lib/kiba/extend/registry/registered_file.rb', line 14

def initialize(filekey)
  msg = "No file path for :#{filekey} is recorded in file registry "\
    "hash"
  super(msg)
end