Exception: JSON::LD::JsonLdError

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

Defined Under Namespace

Classes: CollidingKeywords, ConflictingIndexes, ContextOverflow, CyclicIRIMapping, IRIConfusedWithPrefix, InvalidAnnotation, InvalidBaseDirection, InvalidBaseIRI, InvalidContainerMapping, InvalidContextEntry, InvalidContextNullification, InvalidDefaultLanguage, InvalidEmbedValue, InvalidEmbeddedNode, InvalidFrame, InvalidIRIMapping, InvalidIdValue, InvalidImportValue, InvalidIncludedValue, InvalidIndexValue, InvalidJsonLiteral, InvalidKeywordAlias, InvalidLanguageMapValue, InvalidLanguageMapping, InvalidLanguageTaggedString, InvalidLanguageTaggedValue, InvalidLocalContext, InvalidNestValue, InvalidPrefixValue, InvalidPropagateValue, InvalidRemoteContext, InvalidReverseProperty, InvalidReversePropertyMap, InvalidReversePropertyValue, InvalidReverseValue, InvalidScopedContext, InvalidScriptElement, InvalidSetOrListObject, InvalidStreamingKeyOrder, InvalidTermDefinition, InvalidTypeMapping, InvalidTypeValue, InvalidTypedValue, InvalidValueObject, InvalidValueObjectValue, InvalidVersionValue, InvalidVocabMapping, KeywordRedefinition, LoadingDocumentFailed, LoadingRemoteContextFailed, MissingIncludedReferent, MultipleContextLinkHeaders, ProcessingModeConflict, ProtectedTermRedefinition

Instance Method Summary collapse

Instance Method Details

#codeObject



123
124
125
# File 'lib/json/ld.rb', line 123

def code
  self.class.instance_variable_get :@code
end

#to_sObject



119
120
121
# File 'lib/json/ld.rb', line 119

def to_s
  "#{self.class.instance_variable_get :@code}: #{super}"
end