Exception: CVESchema::UnknownJSONValue
- Inherits:
-
InvalidJSON
- Object
- StandardError
- InvalidJSON
- CVESchema::UnknownJSONValue
- Defined in:
- lib/cve_schema/exceptions.rb
Instance Method Summary collapse
-
#initialize(key, value) ⇒ UnknownJSONValue
constructor
A new instance of UnknownJSONValue.
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 |