Exception: JSON::LD::InvalidFrame
- Inherits:
-
Exception
- Object
- Exception
- JSON::LD::InvalidFrame
- Defined in:
- lib/json/ld.rb
Direct Known Subclasses
Defined Under Namespace
Classes: MultipleEmbeds, Syntax
Constant Summary collapse
- INVALID_SYNTAX =
A frame must be either an object or an array of objects, if the frame is neither of these types, this exception is thrown.
1
- MULTIPLE_EMBEDS =
A subject IRI was specified in more than one place in the input frame. More than one embed of a given subject IRI is not allowed, and if requested, must result in this exception.
2
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
150 151 152 |
# File 'lib/json/ld.rb', line 150 def code @code end |