Exception: CVESchema::UnknownJSONValue

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

Instance Method Summary collapse

Constructor Details

#initialize(key, value) ⇒ UnknownJSONValue

Returns a new instance of UnknownJSONValue.



15
16
17
# File 'lib/cve_schema/exceptions.rb', line 15

def initialize(key,value)
  super("unknown #{key.inspect} value: #{value.inspect}")
end