Skip to main content

EvaluationError

Type Alias EvaluationError 

Source
pub type EvaluationError = QueryEvaluationError;
๐Ÿ‘ŽDeprecated since 0.5.0:

Use QueryEvaluationError instead

Aliased Typeยง

pub enum EvaluationError {
    Dataset(Box<dyn Error + Sync + Send>),
    Service(Box<dyn Error + Sync + Send>),
    NotExistingSubstitutedVariable(Variable),
    UnexpectedDefaultGraph,
    UnsupportedCustomFunction(NamedNode),
    UnsupportedCustomFunctionArity {
        name: NamedNode,
        expected: RangeInclusive<usize>,
        actual: usize,
    },
    UnboundService,
    InvalidServiceName(Term),
    UnsupportedService(NamedNode),
    InvalidStorageTripleTerm,
    Cancelled,
}

Variantsยง

ยง

Dataset(Box<dyn Error + Sync + Send>)

Error from the underlying RDF dataset

ยง

Service(Box<dyn Error + Sync + Send>)

Error during SERVICE evaluation

ยง

NotExistingSubstitutedVariable(Variable)

If a variable present in the given initial substitution is not present in the SELECT part of the query

ยง

UnexpectedDefaultGraph

Error if the dataset returns the default graph even if a named graph is expected

ยง

UnsupportedCustomFunction(NamedNode)

The given custom function is not supported

ยง

UnsupportedCustomFunctionArity

The given custom function arity is not supported

ยง

UnboundService

The variable storing the SERVICE name is unbound

ยง

InvalidServiceName(Term)

Invalid service name

ยง

UnsupportedService(NamedNode)

The given SERVICE is not supported

ยง

InvalidStorageTripleTerm

ยง

Cancelled