Skip to main content

@terascope/data-mate / teal-frame/errors / DuckExtensionError

Class: DuckExtensionError

Defined in: data-mate/src/teal-frame/errors.ts:51

Thrown when required DuckDB extensions cannot be loaded as the database opens.

Failing at startup gives a clear message. Otherwise the first query that needs the extension fails with a DuckDB autoload error that does not explain how to fix it.

Extends​

  • Error

Constructors​

Constructor​

new DuckExtensionError(failure): DuckExtensionError

Defined in: data-mate/src/teal-frame/errors.ts:52

Parameters​

ParameterType
failureExtensionFailure

Returns​

DuckExtensionError

Overrides​

Error.constructor

Properties​

PropertyModifierTypeDefined in
failurereadonlyExtensionFailuredata-mate/src/teal-frame/errors.ts:52