Exception: CVESchema::MissingJSONKey

Inherits:
InvalidJSON
  • Object
show all
Defined in:
lib/cve_schema/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ MissingJSONKey

Returns a new instance of MissingJSONKey.



7
8
9
# File 'lib/cve_schema/exceptions.rb', line 7

def initialize(key)
  super("missing #{key.inspect} key")
end