Exception: OcflTools::Errors::RequiredKeyNotFound
- Inherits:
-
ValidationError
- Object
- StandardError
- ValidationError
- OcflTools::Errors::RequiredKeyNotFound
- 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
Instance Method Summary collapse
-
#initialize(msg = "Required key not found in provided inventory.json.") ⇒ RequiredKeyNotFound
constructor
key ‘foo’ is in the spec and should be in the inventory.
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 |