# `JSON.LD.Error`
[🔗](https://github.com/rdf-elixir/jsonld-ex/blob/v1.0.1/lib/json/ld/exceptions.ex#L1)

The base exception for all JSON-LD errors.

See <https://w3c.github.io/json-ld-api/#jsonlderror>

# `colliding_keywords`

Two properties which expand to the same keyword have been detected.
This might occur if a keyword and an alias thereof are used at the same time.

# `conflicting_indexes`

Multiple conflicting indexes have been found for the same node.

# `context_overflow`

Maximum number of `@context` URLs exceeded.

# `cyclic_iri_mapping`

A cycle in IRI mappings has been detected.

# `invalid_base_direction`

The value of @direction is not "ltr", "rtl", or null and thus invalid.

# `invalid_base_iri`

An invalid base IRI has been detected, i.e., it is neither an absolute IRI nor null.

# `invalid_base_iri`

# `invalid_container_mapping`

An `@container` entry was encountered whose value was not one of the following strings: `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, or `@type`.

# `invalid_context_entry`

An entry in a context is invalid due to processing mode incompatibility.

# `invalid_context_nullification`

An attempt was made to nullify a context containing protected term definitions.

# `invalid_default_language`

The value of the default language is not a string or null and thus invalid.

# `invalid_id_value`

An `@id` entry was encountered whose value was not a string.

# `invalid_import_value`

An invalid value for `@import` has been found.

# `invalid_included_value`

An included block contains an invalid value.

# `invalid_index_value`

An `@index` member was encountered whose value was not a string.

# `invalid_iri_mapping`

A local context contains a term that has an invalid or missing IRI mapping.

# `invalid_json_literal`

An invalid JSON literal was detected.

# `invalid_keyword_alias`

An invalid keyword alias definition has been encountered.

# `invalid_language_map_value`

An invalid value in a language map has been detected. It MUST be a string or an array of strings.

# `invalid_language_mapping`

An `@language` entry in a term definition was encountered whose value was neither a string nor null and thus invalid.

# `invalid_language_tagged_string`

A language-tagged string with an invalid language value was detected.

# `invalid_language_tagged_value`

A number, `true`, or `false` with an associated language tag was detected.

# `invalid_local_context`

An invalid local context was detected.

# `invalid_nest_value`

An invalid value for `@nest` has been found.

# `invalid_prefix_value`

An invalid value for `@prefix` has been found.

# `invalid_propagate_value`

An invalid value for `@propagate` has been found.

# `invalid_protected_value`

An invalid value for `@protected` has been found.

# `invalid_remote_context`

No valid context document has been found for a referenced remote context.

# `invalid_reverse_property`

An invalid reverse property definition has been detected.

# `invalid_reverse_property_map`

An invalid reverse property map has been detected. No keywords apart from `@context` are allowed in reverse property maps.

# `invalid_reverse_property_value`

An invalid value for a reverse property has been detected. The value of an inverse property must be a node object.

# `invalid_reverse_value`

An invalid value for an `@reverse` entry has been detected, i.e., the value was not a map.

# `invalid_scoped_context`

The local context defined within a term definition is invalid.

# `invalid_script_element`

A script element in HTML input which is the target of a fragment identifier does not have an appropriate type attribute.

# `invalid_set_or_list_object`

A set object or list object with disallowed members has been detected.

# `invalid_term_definition`

An invalid term definition has been detected.

# `invalid_type_mapping`

An `@type` entry in a term definition was encountered whose value could not be expanded to an IRI.

# `invalid_type_value`

An invalid value for an `@type` entry has been detected, i.e., the value was neither a string nor an array of strings.

# `invalid_typed_value`

A typed value with an invalid type was detected.

# `invalid_value_object`

A value object with disallowed entries has been detected.

# `invalid_value_object_value`

An invalid value for the `@value` entry of a value object has been detected, i.e., it is neither a scalar nor `null`.

# `invalid_version_value`

The `@version` entry was used in a context with an out of range value.

# `invalid_vocab_mapping`

An invalid vocabulary mapping has been detected, i.e., it is neither an IRI nor `null`.

# `iri_confused_with_prefix`

When compacting an IRI would result in an IRI which could be confused with a compact IRI (because its IRI scheme matches a term definition and it has no IRI authority).

# `keyword_redefinition`

A keyword redefinition has been detected.

# `loading_document_failed`

The document could not be loaded or parsed as JSON.

# `loading_remote_context_failed`

There was a problem encountered loading a remote context.

# `multiple_context_link_headers`

Multiple HTTP Link Headers using the http://www.w3.org/ns/json-ld#context link relation have been detected.

# `processing_mode_conflict`

An attempt was made to change the processing mode which is incompatible with the previous specified version.

# `protected_term_redefinition`

An attempt was made to redefine a protected term.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
