Exception: OcflTools::Errors::RequestedKeyNotFound

Inherits:
ClientError
  • Object
show all
Defined in:
lib/ocfl_tools/ocfl_errors.rb

Overview

Client errors (you asked for the wrong stuff)

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Requested key not found in provided inventory.json.") ⇒ RequestedKeyNotFound

You ask for key ‘foo’, but you are dumb and key ‘foo’ is not in the spec.



30
31
# File 'lib/ocfl_tools/ocfl_errors.rb', line 30

def initialize(msg="Requested key not found in provided inventory.json.")
end