This class of error will be thrown when an expression errors. Various reasons this could happen are:

  • invalid types for the given operator
  • unbound variables
  • invalid lexical forms
  • ...

The distinction is made so that one can catch this specific type and handle it accordingly to the SPARQL spec (relevant for e.g. FILTER, EXTEND), while others (programming errors) can be re-thrown.

isExpressionError

Hierarchy (view full)

Constructors

  • Parameters

    • Optionalmessage: string

    Returns ExpressionError

Properties

message: string
name: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void