Exception: JSON::LD::InvalidContext::Syntax

Inherits:
JSON::LD::InvalidContext show all
Defined in:
lib/json/ld.rb

Constant Summary

Constants inherited from JSON::LD::InvalidContext

INVALID_SYNTAX, LOAD_ERROR

Instance Attribute Summary

Attributes inherited from JSON::LD::InvalidContext

#code

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Syntax

Returns a new instance of Syntax.



126
127
128
129
# File 'lib/json/ld.rb', line 126

def initialize(*args)
  super
  @code = INVALID_SYNTAX
end