Exception: OcflTools::Errors::RequiredKeyNotFound

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

Overview

Validation errors (stuff that MUST be true, per spec, is not)

Instance Attribute Summary

Attributes inherited from ValidationError

#details, #msg

Instance Method Summary collapse

Constructor Details

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

key ‘foo’ is in the spec and should be in the inventory. Fail if not.



63
64
# File 'lib/ocfl_tools/ocfl_errors.rb', line 63

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