Exception: JSON::LD::InvalidFrame

Inherits:
Exception
  • Object
show all
Defined in:
lib/json/ld.rb

Direct Known Subclasses

MultipleEmbeds, Syntax

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

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



149
150
151
# File 'lib/json/ld.rb', line 149

def code
  @code
end