You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseJsonLdError::InvalidReverseProperty,"unexpected key in #{value.inspect}"if
427
427
value.keys.any?{|k| %w(@id).include?(k)}
428
-
raiseJsonLdError::InvalidIRIMapping,"expected value of @reverse to be a string"unless
428
+
raiseJsonLdError::InvalidIRIMapping,"expected value of @reverse to be a string: #{value['@reverse'].inspect}"unless
429
429
value['@reverse'].is_a?(String)
430
430
431
431
# Otherwise, set the IRI mapping of definition to the result of using the IRI Expansion algorithm, passing active context, the value associated with the @reverse key for value, true for vocab, true for document relative, local context, and defined. If the result is not an absolute IRI, i.e., it contains no colon (:), an invalid IRI mapping error has been detected and processing is aborted.
# Otherwise, active context must have a vocabulary mapping, otherwise an invalid value has been detected, which is an error. Set the IRI mapping for definition to the result of concatenating the value associated with the vocabulary mapping and term.
473
-
raiseJsonLdError::InvalidIRIMapping,"relative term definition without vocab"unlessvocab
473
+
raiseJsonLdError::InvalidIRIMapping,"relative term definition without vocab: #{term}"unlessvocab
0 commit comments