[−][src]Enum json_ld::ErrorCode
Error code.
Variants
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.
Multiple conflicting indexes have been found for the same node.
maximum number of @context
URLs exceeded.
A cycle in IRI mappings has been detected.
An @id
entry was encountered whose value was not a string.
An invalid value for @import
has been found.
An included block contains an invalid value.
An @index
entry was encountered whose value was not a string.
An invalid value for @nest
has been found.
An invalid value for @prefix
has been found.
An invalid value for @propagate
has been found.
An invalid value for @protected
has been found.
An invalid value for an @reverse
entry has been detected, i.e., the value was not a map.
The @version
entry was used in a context with an out of range value.
The value of @direction
is not "ltr", "rtl", or null and thus invalid.
An invalid base IRI has been detected, i.e., it is neither an IRI nor null.
An @container
entry was encountered whose value was not one of the following strings:
@list
, @set
, or @index
.
An entry in a context is invalid due to processing mode incompatibility.
An attempt was made to nullify a context containing protected term definitions.
The value of the default language is not a string or null and thus invalid.
A local context contains a term that has an invalid or missing IRI mapping.
An invalid JSON literal was detected.
An invalid keyword alias definition has been encountered.
An invalid value in a language map has been detected. It MUST be a string or an array of strings.
An @language
entry in a term definition was encountered whose value was neither a string
nor null and thus invalid.
A language-tagged string with an invalid language value was detected.
A number, true, or false with an associated language tag was detected.
An invalid local context was detected.
No valid context document has been found for a referenced remote context.
An invalid reverse property definition has been detected.
An invalid reverse property map has been detected. No keywords apart from @context
are
allowed in reverse property maps.
An invalid value for a reverse property has been detected. The value of an inverse property must be a node object.
The local context defined within a term definition is invalid.
A script element in HTML input which is the target of a fragment identifier does not have an appropriate type attribute.
A set object or list object with disallowed entries has been detected.
An invalid term definition has been detected.
An @type
entry in a term definition was encountered whose value could not be expanded to an
IRI.
An invalid value for an @type
entry has been detected, i.e., the value was neither a string
nor an array of strings.
A typed value with an invalid type was detected.
A value object with disallowed entries has been detected.
An invalid value for the @value
entry of a value object has been detected, i.e., it is
neither a scalar nor null.
An invalid vocabulary mapping has been detected, i.e., it is neither an IRI nor null.
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).
A keyword redefinition has been detected.
The document could not be loaded or parsed as JSON.
There was a problem encountered loading a remote context.
Multiple HTTP Link Headers RFC8288 using the http://www.w3.org/ns/json-ld#context link relation have been detected.
An attempt was made to change the processing mode which is incompatible with the previous specified version.
An attempt was made to redefine a protected term.
Methods
impl ErrorCode
[src]
Trait Implementations
impl Clone for ErrorCode
[src]
impl Copy for ErrorCode
[src]
impl Debug for ErrorCode
[src]
impl Display for ErrorCode
[src]
impl Eq for ErrorCode
[src]
impl From<ErrorCode> for Error
[src]
impl Hash for ErrorCode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ErrorCode
[src]
fn cmp(&self, other: &ErrorCode) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ErrorCode> for ErrorCode
[src]
impl PartialOrd<ErrorCode> for ErrorCode
[src]
fn partial_cmp(&self, other: &ErrorCode) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for ErrorCode
[src]
impl StructuralPartialEq for ErrorCode
[src]
impl<'a> TryFrom<&'a str> for ErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToOwned for T
[src]
type Owned = T
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,