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


113
114
115
# File 'lib/json/ld.rb', line 113

def code
  self.class.instance_variable_get :@code
end

#to_sObject


110
111
112
# File 'lib/json/ld.rb', line 110

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