mirror of
https://github.com/lancedb/lancedb.git
synced 2026-12-03 07:45:17 +00:00
feat(node): surface Rust errors as typed JavaScript errors (#4901)
## Summary The Node SDK now throws typed `LanceError` subclasses instead of one generic `Error` with an indented `Caused by` string. Fixes #222 ## Before / after ```ts try { await db.openTable(\"missing\"); } catch (error) { if (error instanceof TableNotFoundError) { error.code; // \"TableNotFound\" error.tableName; // \"missing\" error.message; // \"Table 'missing' was not found\" error.cause; // underlying dataset error } } ``` ## Changes - `nodejs/src/error.rs` — map each `lancedb::Error` variant to a one-line header + `error.cause` - `nodejs/src/query.rs`, `nodejs/src/merge.rs` — pass errors through instead of stringifying - `nodejs/lancedb/errors.ts`, `errors_install.ts` — real subclasses when the package loads - Tests + generated API docs under `docs/src/js/` ## Test plan - [x] Native debug build, `tsc`, Biome, `cargo clippy -p lancedb-nodejs` - [x] Jest: new error tests, remote retry, connection/query/table (594 passed) ## Notes Node-API cannot construct a custom `Error` subclass from an async Rust rejection, so translation happens in JS when `@lancedb/lancedb` loads. Calling the raw native addon without that entrypoint still shows the header line. --------- Signed-off-by: ZYZ666-RGB <1991039819@qq.com> Signed-off-by: yuzhou <1991039819@qq.com> Co-authored-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / ColumnAlreadyExistsError
|
||||
|
||||
# Class: ColumnAlreadyExistsError
|
||||
|
||||
A column with this name already exists.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new ColumnAlreadyExistsError()
|
||||
|
||||
```ts
|
||||
new ColumnAlreadyExistsError(message, options?): ColumnAlreadyExistsError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`ColumnAlreadyExistsError`](ColumnAlreadyExistsError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "ColumnAlreadyExists" = "ColumnAlreadyExists";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,463 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / ColumnNotFoundError
|
||||
|
||||
# Class: ColumnNotFoundError
|
||||
|
||||
The named column does not exist.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Extended by
|
||||
|
||||
- [`FieldNotFoundError`](FieldNotFoundError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new ColumnNotFoundError()
|
||||
|
||||
```ts
|
||||
new ColumnNotFoundError(message, options?): ColumnNotFoundError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: string = "ColumnNotFound";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / CreateDirError
|
||||
|
||||
# Class: CreateDirError
|
||||
|
||||
Creating a dataset directory failed.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new CreateDirError()
|
||||
|
||||
```ts
|
||||
new CreateDirError(message, options?): CreateDirError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`CreateDirError`](CreateDirError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "CreateDir" = "CreateDir";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / DatabaseAlreadyExistsError
|
||||
|
||||
# Class: DatabaseAlreadyExistsError
|
||||
|
||||
A database with this name already exists.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new DatabaseAlreadyExistsError()
|
||||
|
||||
```ts
|
||||
new DatabaseAlreadyExistsError(message, options?): DatabaseAlreadyExistsError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`DatabaseAlreadyExistsError`](DatabaseAlreadyExistsError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "DatabaseAlreadyExists" = "DatabaseAlreadyExists";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / DatabaseNotFoundError
|
||||
|
||||
# Class: DatabaseNotFoundError
|
||||
|
||||
The named database does not exist.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new DatabaseNotFoundError()
|
||||
|
||||
```ts
|
||||
new DatabaseNotFoundError(message, options?): DatabaseNotFoundError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`DatabaseNotFoundError`](DatabaseNotFoundError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "DatabaseNotFound" = "DatabaseNotFound";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / EmbeddingFunctionNotFoundError
|
||||
|
||||
# Class: EmbeddingFunctionNotFoundError
|
||||
|
||||
The named embedding function is not registered.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new EmbeddingFunctionNotFoundError()
|
||||
|
||||
```ts
|
||||
new EmbeddingFunctionNotFoundError(message, options?): EmbeddingFunctionNotFoundError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`EmbeddingFunctionNotFoundError`](EmbeddingFunctionNotFoundError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "EmbeddingFunctionNotFound" = "EmbeddingFunctionNotFound";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / ExternalError
|
||||
|
||||
# Class: ExternalError
|
||||
|
||||
A caller-supplied callback or external library failed.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new ExternalError()
|
||||
|
||||
```ts
|
||||
new ExternalError(message, options?): ExternalError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`ExternalError`](ExternalError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "External" = "External";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,462 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / FieldNotFoundError
|
||||
|
||||
# Class: FieldNotFoundError
|
||||
|
||||
A query referenced a field the schema does not contain.
|
||||
|
||||
This is also a [ColumnNotFoundError](ColumnNotFoundError.md). `code` remains `"FieldNotFound"`
|
||||
so callers can tell a schema-qualified miss from a plain missing column.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`ColumnNotFoundError`](ColumnNotFoundError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new FieldNotFoundError()
|
||||
|
||||
```ts
|
||||
new FieldNotFoundError(message, options?): FieldNotFoundError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`FieldNotFoundError`](FieldNotFoundError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`constructor`](ColumnNotFoundError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`cause`](ColumnNotFoundError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`code`](ColumnNotFoundError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`columnName`](ColumnNotFoundError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`connectFailures`](ColumnNotFoundError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`databaseName`](ColumnNotFoundError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`errorCode`](ColumnNotFoundError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`functionName`](ColumnNotFoundError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`grpcCode`](ColumnNotFoundError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`indexName`](ColumnNotFoundError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`jobId`](ColumnNotFoundError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`jobRequestId`](ColumnNotFoundError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`maxConnectFailures`](ColumnNotFoundError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`maxReadFailures`](ColumnNotFoundError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`maxRequestFailures`](ColumnNotFoundError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`message`](ColumnNotFoundError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`name`](ColumnNotFoundError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`namespacePath`](ColumnNotFoundError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`path`](ColumnNotFoundError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`phase`](ColumnNotFoundError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`readFailures`](ColumnNotFoundError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`requestFailures`](ColumnNotFoundError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`requestId`](ColumnNotFoundError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`resourceKind`](ColumnNotFoundError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`resourceName`](ColumnNotFoundError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`retryable`](ColumnNotFoundError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`sqlJobId`](ColumnNotFoundError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`stack`](ColumnNotFoundError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`statusCode`](ColumnNotFoundError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`tableName`](ColumnNotFoundError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "FieldNotFound" = "FieldNotFound";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`code`](ColumnNotFoundError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`prepareStackTrace`](ColumnNotFoundError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`stackTraceLimit`](ColumnNotFoundError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`ColumnNotFoundError`](ColumnNotFoundError.md).[`captureStackTrace`](ColumnNotFoundError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / HttpError
|
||||
|
||||
# Class: HttpError
|
||||
|
||||
An HTTP call to LanceDB Cloud or Enterprise failed.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new HttpError()
|
||||
|
||||
```ts
|
||||
new HttpError(message, options?): HttpError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`HttpError`](HttpError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Http" = "Http";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / IndexNotFoundError
|
||||
|
||||
# Class: IndexNotFoundError
|
||||
|
||||
The named index does not exist.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new IndexNotFoundError()
|
||||
|
||||
```ts
|
||||
new IndexNotFoundError(message, options?): IndexNotFoundError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`IndexNotFoundError`](IndexNotFoundError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "IndexNotFound" = "IndexNotFound";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / InvalidExpressionError
|
||||
|
||||
# Class: InvalidExpressionError
|
||||
|
||||
A computed-column or SQL expression was rejected.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`InvalidInputError`](InvalidInputError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new InvalidExpressionError()
|
||||
|
||||
```ts
|
||||
new InvalidExpressionError(message, options?): InvalidExpressionError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`InvalidExpressionError`](InvalidExpressionError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`constructor`](InvalidInputError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`cause`](InvalidInputError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`columnName`](InvalidInputError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`connectFailures`](InvalidInputError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`databaseName`](InvalidInputError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`errorCode`](InvalidInputError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`functionName`](InvalidInputError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`grpcCode`](InvalidInputError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`indexName`](InvalidInputError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobId`](InvalidInputError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobRequestId`](InvalidInputError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxConnectFailures`](InvalidInputError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxReadFailures`](InvalidInputError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxRequestFailures`](InvalidInputError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`message`](InvalidInputError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`name`](InvalidInputError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`namespacePath`](InvalidInputError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`path`](InvalidInputError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`phase`](InvalidInputError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`readFailures`](InvalidInputError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestFailures`](InvalidInputError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestId`](InvalidInputError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceKind`](InvalidInputError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceName`](InvalidInputError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`retryable`](InvalidInputError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`sqlJobId`](InvalidInputError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stack`](InvalidInputError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`statusCode`](InvalidInputError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`tableName`](InvalidInputError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "InvalidExpression" = "InvalidExpression";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`prepareStackTrace`](InvalidInputError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stackTraceLimit`](InvalidInputError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`captureStackTrace`](InvalidInputError.md#capturestacktrace)
|
||||
@@ -0,0 +1,466 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / InvalidInputError
|
||||
|
||||
# Class: InvalidInputError
|
||||
|
||||
Input rejected before it reached storage.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Extended by
|
||||
|
||||
- [`InvalidExpressionError`](InvalidExpressionError.md)
|
||||
- [`InvalidTableNameError`](InvalidTableNameError.md)
|
||||
- [`NotAMaterializedViewError`](NotAMaterializedViewError.md)
|
||||
- [`SchemaError`](SchemaError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new InvalidInputError()
|
||||
|
||||
```ts
|
||||
new InvalidInputError(message, options?): InvalidInputError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: string = "InvalidInput";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / InvalidTableNameError
|
||||
|
||||
# Class: InvalidTableNameError
|
||||
|
||||
A table name failed validation.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`InvalidInputError`](InvalidInputError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new InvalidTableNameError()
|
||||
|
||||
```ts
|
||||
new InvalidTableNameError(message, options?): InvalidTableNameError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`InvalidTableNameError`](InvalidTableNameError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`constructor`](InvalidInputError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`cause`](InvalidInputError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`columnName`](InvalidInputError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`connectFailures`](InvalidInputError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`databaseName`](InvalidInputError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`errorCode`](InvalidInputError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`functionName`](InvalidInputError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`grpcCode`](InvalidInputError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`indexName`](InvalidInputError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobId`](InvalidInputError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobRequestId`](InvalidInputError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxConnectFailures`](InvalidInputError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxReadFailures`](InvalidInputError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxRequestFailures`](InvalidInputError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`message`](InvalidInputError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`name`](InvalidInputError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`namespacePath`](InvalidInputError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`path`](InvalidInputError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`phase`](InvalidInputError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`readFailures`](InvalidInputError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestFailures`](InvalidInputError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestId`](InvalidInputError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceKind`](InvalidInputError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceName`](InvalidInputError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`retryable`](InvalidInputError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`sqlJobId`](InvalidInputError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stack`](InvalidInputError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`statusCode`](InvalidInputError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`tableName`](InvalidInputError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "InvalidTableName" = "InvalidTableName";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`prepareStackTrace`](InvalidInputError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stackTraceLimit`](InvalidInputError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`captureStackTrace`](InvalidInputError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / JobCancelledError
|
||||
|
||||
# Class: JobCancelledError
|
||||
|
||||
An asynchronous job was cancelled.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new JobCancelledError()
|
||||
|
||||
```ts
|
||||
new JobCancelledError(message, options?): JobCancelledError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`JobCancelledError`](JobCancelledError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "JobCancelled" = "JobCancelled";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / JobFailedError
|
||||
|
||||
# Class: JobFailedError
|
||||
|
||||
An asynchronous job finished in the failed state.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new JobFailedError()
|
||||
|
||||
```ts
|
||||
new JobFailedError(message, options?): JobFailedError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`JobFailedError`](JobFailedError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "JobFailed" = "JobFailed";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / JobNotFoundError
|
||||
|
||||
# Class: JobNotFoundError
|
||||
|
||||
The named job does not exist.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new JobNotFoundError()
|
||||
|
||||
```ts
|
||||
new JobNotFoundError(message, options?): JobNotFoundError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`JobNotFoundError`](JobNotFoundError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "JobNotFound" = "JobNotFound";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / LanceArrowError
|
||||
|
||||
# Class: LanceArrowError
|
||||
|
||||
Arrow returned an error while reading or writing batches.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new LanceArrowError()
|
||||
|
||||
```ts
|
||||
new LanceArrowError(message, options?): LanceArrowError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`LanceArrowError`](LanceArrowError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Arrow" = "Arrow";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,408 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / LanceError
|
||||
|
||||
# Class: LanceError
|
||||
|
||||
Base class for errors raised by the LanceDB native core.
|
||||
|
||||
Subclasses exist so application code can branch with `instanceof`. A kind
|
||||
that does not have its own class is still a [LanceError](LanceError.md); `code` then
|
||||
carries the Rust variant name.
|
||||
|
||||
Stream-time failures and native constructor validation can still arrive as a
|
||||
plain `Error`. Handle that case as a fallback.
|
||||
|
||||
```ts
|
||||
import * as lancedb from "@lancedb/lancedb";
|
||||
|
||||
try {
|
||||
await db.openTable("missing");
|
||||
} catch (error) {
|
||||
if (error instanceof lancedb.TableNotFoundError) {
|
||||
error.tableName; // "missing"
|
||||
error.cause; // underlying error, when Rust supplied one
|
||||
} else if (error instanceof Error) {
|
||||
// Stream-time failures and native constructor validation can still
|
||||
// arrive untyped.
|
||||
error.message;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Extends
|
||||
|
||||
- `Error`
|
||||
|
||||
## Extended by
|
||||
|
||||
- [`ColumnAlreadyExistsError`](ColumnAlreadyExistsError.md)
|
||||
- [`ColumnNotFoundError`](ColumnNotFoundError.md)
|
||||
- [`CreateDirError`](CreateDirError.md)
|
||||
- [`DatabaseAlreadyExistsError`](DatabaseAlreadyExistsError.md)
|
||||
- [`DatabaseNotFoundError`](DatabaseNotFoundError.md)
|
||||
- [`EmbeddingFunctionNotFoundError`](EmbeddingFunctionNotFoundError.md)
|
||||
- [`ExternalError`](ExternalError.md)
|
||||
- [`HttpError`](HttpError.md)
|
||||
- [`IndexNotFoundError`](IndexNotFoundError.md)
|
||||
- [`InvalidInputError`](InvalidInputError.md)
|
||||
- [`JobCancelledError`](JobCancelledError.md)
|
||||
- [`JobFailedError`](JobFailedError.md)
|
||||
- [`JobNotFoundError`](JobNotFoundError.md)
|
||||
- [`LanceArrowError`](LanceArrowError.md)
|
||||
- [`LanceFormatError`](LanceFormatError.md)
|
||||
- [`LanceRuntimeError`](LanceRuntimeError.md)
|
||||
- [`NotAComputedColumnError`](NotAComputedColumnError.md)
|
||||
- [`NotSupportedError`](NotSupportedError.md)
|
||||
- [`ObjectStoreError`](ObjectStoreError.md)
|
||||
- [`OtherError`](OtherError.md)
|
||||
- [`RetryError`](RetryError.md)
|
||||
- [`SqlError`](SqlError.md)
|
||||
- [`TableAlreadyExistsError`](TableAlreadyExistsError.md)
|
||||
- [`TableCorruptedError`](TableCorruptedError.md)
|
||||
- [`TableNotFoundError`](TableNotFoundError.md)
|
||||
- [`TimeoutError`](TimeoutError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new LanceError()
|
||||
|
||||
```ts
|
||||
new LanceError(message, options?): LanceError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`LanceError`](LanceError.md)
|
||||
|
||||
#### Overrides
|
||||
|
||||
`Error.constructor`
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`Error.cause`
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`Error.message`
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`Error.name`
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`Error.stack`
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: string = "Error";
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`Error.prepareStackTrace`
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`Error.stackTraceLimit`
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`Error.captureStackTrace`
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / LanceFormatError
|
||||
|
||||
# Class: LanceFormatError
|
||||
|
||||
The Lance format layer returned an error. `code` is `"Lance"`.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new LanceFormatError()
|
||||
|
||||
```ts
|
||||
new LanceFormatError(message, options?): LanceFormatError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`LanceFormatError`](LanceFormatError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Lance" = "Lance";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / LanceRuntimeError
|
||||
|
||||
# Class: LanceRuntimeError
|
||||
|
||||
An unclassified failure inside the LanceDB runtime.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new LanceRuntimeError()
|
||||
|
||||
```ts
|
||||
new LanceRuntimeError(message, options?): LanceRuntimeError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`LanceRuntimeError`](LanceRuntimeError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Runtime" = "Runtime";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / NotAComputedColumnError
|
||||
|
||||
# Class: NotAComputedColumnError
|
||||
|
||||
The named column is not a computed column.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new NotAComputedColumnError()
|
||||
|
||||
```ts
|
||||
new NotAComputedColumnError(message, options?): NotAComputedColumnError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`NotAComputedColumnError`](NotAComputedColumnError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "NotAComputedColumn" = "NotAComputedColumn";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / NotAMaterializedViewError
|
||||
|
||||
# Class: NotAMaterializedViewError
|
||||
|
||||
The named table is not a materialized view.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`InvalidInputError`](InvalidInputError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new NotAMaterializedViewError()
|
||||
|
||||
```ts
|
||||
new NotAMaterializedViewError(message, options?): NotAMaterializedViewError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`NotAMaterializedViewError`](NotAMaterializedViewError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`constructor`](InvalidInputError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`cause`](InvalidInputError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`columnName`](InvalidInputError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`connectFailures`](InvalidInputError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`databaseName`](InvalidInputError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`errorCode`](InvalidInputError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`functionName`](InvalidInputError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`grpcCode`](InvalidInputError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`indexName`](InvalidInputError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobId`](InvalidInputError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobRequestId`](InvalidInputError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxConnectFailures`](InvalidInputError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxReadFailures`](InvalidInputError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxRequestFailures`](InvalidInputError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`message`](InvalidInputError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`name`](InvalidInputError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`namespacePath`](InvalidInputError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`path`](InvalidInputError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`phase`](InvalidInputError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`readFailures`](InvalidInputError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestFailures`](InvalidInputError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestId`](InvalidInputError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceKind`](InvalidInputError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceName`](InvalidInputError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`retryable`](InvalidInputError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`sqlJobId`](InvalidInputError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stack`](InvalidInputError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`statusCode`](InvalidInputError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`tableName`](InvalidInputError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "NotAMaterializedView" = "NotAMaterializedView";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`prepareStackTrace`](InvalidInputError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stackTraceLimit`](InvalidInputError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`captureStackTrace`](InvalidInputError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / NotSupportedError
|
||||
|
||||
# Class: NotSupportedError
|
||||
|
||||
The operation is not implemented for this table or build.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new NotSupportedError()
|
||||
|
||||
```ts
|
||||
new NotSupportedError(message, options?): NotSupportedError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`NotSupportedError`](NotSupportedError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "NotSupported" = "NotSupported";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / ObjectStoreError
|
||||
|
||||
# Class: ObjectStoreError
|
||||
|
||||
Object storage returned an error.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new ObjectStoreError()
|
||||
|
||||
```ts
|
||||
new ObjectStoreError(message, options?): ObjectStoreError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`ObjectStoreError`](ObjectStoreError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "ObjectStore" = "ObjectStore";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / OtherError
|
||||
|
||||
# Class: OtherError
|
||||
|
||||
A LanceDB error that does not fit a more specific kind.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new OtherError()
|
||||
|
||||
```ts
|
||||
new OtherError(message, options?): OtherError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`OtherError`](OtherError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Other" = "Other";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / RetryError
|
||||
|
||||
# Class: RetryError
|
||||
|
||||
A remote call exhausted its retry policy. `cause` is the last HTTP error.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new RetryError()
|
||||
|
||||
```ts
|
||||
new RetryError(message, options?): RetryError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`RetryError`](RetryError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Retry" = "Retry";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / SchemaError
|
||||
|
||||
# Class: SchemaError
|
||||
|
||||
The data or query does not match the expected schema.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`InvalidInputError`](InvalidInputError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new SchemaError()
|
||||
|
||||
```ts
|
||||
new SchemaError(message, options?): SchemaError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`SchemaError`](SchemaError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`constructor`](InvalidInputError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`cause`](InvalidInputError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`columnName`](InvalidInputError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`connectFailures`](InvalidInputError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`databaseName`](InvalidInputError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`errorCode`](InvalidInputError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`functionName`](InvalidInputError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`grpcCode`](InvalidInputError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`indexName`](InvalidInputError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobId`](InvalidInputError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`jobRequestId`](InvalidInputError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxConnectFailures`](InvalidInputError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxReadFailures`](InvalidInputError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`maxRequestFailures`](InvalidInputError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`message`](InvalidInputError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`name`](InvalidInputError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`namespacePath`](InvalidInputError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`path`](InvalidInputError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`phase`](InvalidInputError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`readFailures`](InvalidInputError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestFailures`](InvalidInputError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`requestId`](InvalidInputError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceKind`](InvalidInputError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`resourceName`](InvalidInputError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`retryable`](InvalidInputError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`sqlJobId`](InvalidInputError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stack`](InvalidInputError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`statusCode`](InvalidInputError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`tableName`](InvalidInputError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Schema" = "Schema";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`code`](InvalidInputError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`prepareStackTrace`](InvalidInputError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`stackTraceLimit`](InvalidInputError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`InvalidInputError`](InvalidInputError.md).[`captureStackTrace`](InvalidInputError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / SqlError
|
||||
|
||||
# Class: SqlError
|
||||
|
||||
A remote SQL call failed. `grpcCode` is the numeric gRPC status.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new SqlError()
|
||||
|
||||
```ts
|
||||
new SqlError(message, options?): SqlError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`SqlError`](SqlError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Sql" = "Sql";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / TableAlreadyExistsError
|
||||
|
||||
# Class: TableAlreadyExistsError
|
||||
|
||||
A table with this name already exists.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new TableAlreadyExistsError()
|
||||
|
||||
```ts
|
||||
new TableAlreadyExistsError(message, options?): TableAlreadyExistsError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`TableAlreadyExistsError`](TableAlreadyExistsError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "TableAlreadyExists" = "TableAlreadyExists";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / TableCorruptedError
|
||||
|
||||
# Class: TableCorruptedError
|
||||
|
||||
The named table is present but could not be loaded.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new TableCorruptedError()
|
||||
|
||||
```ts
|
||||
new TableCorruptedError(message, options?): TableCorruptedError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`TableCorruptedError`](TableCorruptedError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "TableCorrupted" = "TableCorrupted";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / TableNotFoundError
|
||||
|
||||
# Class: TableNotFoundError
|
||||
|
||||
The named table does not exist.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new TableNotFoundError()
|
||||
|
||||
```ts
|
||||
new TableNotFoundError(message, options?): TableNotFoundError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`TableNotFoundError`](TableNotFoundError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "TableNotFound" = "TableNotFound";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,459 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / TimeoutError
|
||||
|
||||
# Class: TimeoutError
|
||||
|
||||
A local operation exceeded its time limit.
|
||||
|
||||
## Extends
|
||||
|
||||
- [`LanceError`](LanceError.md)
|
||||
|
||||
## Constructors
|
||||
|
||||
### new TimeoutError()
|
||||
|
||||
```ts
|
||||
new TimeoutError(message, options?): TimeoutError
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **message**: `string`
|
||||
|
||||
* **options?**: [`LanceErrorOptions`](../interfaces/LanceErrorOptions.md)
|
||||
|
||||
#### Returns
|
||||
|
||||
[`TimeoutError`](TimeoutError.md)
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`constructor`](LanceError.md#constructors)
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`cause`](LanceError.md#cause)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly code: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code)
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
readonly optional columnName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`columnName`](LanceError.md#columnname)
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional connectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`connectFailures`](LanceError.md#connectfailures)
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
readonly optional databaseName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`databaseName`](LanceError.md#databasename)
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
readonly optional errorCode: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`errorCode`](LanceError.md#errorcode)
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
readonly optional functionName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`functionName`](LanceError.md#functionname)
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
readonly optional grpcCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`grpcCode`](LanceError.md#grpccode)
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
readonly optional indexName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`indexName`](LanceError.md#indexname)
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
readonly optional jobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobId`](LanceError.md#jobid)
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
readonly optional jobRequestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`jobRequestId`](LanceError.md#jobrequestid)
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxConnectFailures`](LanceError.md#maxconnectfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxReadFailures`](LanceError.md#maxreadfailures)
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`maxRequestFailures`](LanceError.md#maxrequestfailures)
|
||||
|
||||
***
|
||||
|
||||
### message
|
||||
|
||||
```ts
|
||||
message: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`message`](LanceError.md#message)
|
||||
|
||||
***
|
||||
|
||||
### name
|
||||
|
||||
```ts
|
||||
name: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`name`](LanceError.md#name)
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
readonly optional namespacePath: string[];
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`namespacePath`](LanceError.md#namespacepath)
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
readonly optional path: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`path`](LanceError.md#path)
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
readonly optional phase: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`phase`](LanceError.md#phase)
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
readonly optional readFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`readFailures`](LanceError.md#readfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
readonly optional requestFailures: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestFailures`](LanceError.md#requestfailures)
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
readonly optional requestId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`requestId`](LanceError.md#requestid)
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
readonly optional resourceKind: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceKind`](LanceError.md#resourcekind)
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
readonly optional resourceName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`resourceName`](LanceError.md#resourcename)
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
readonly optional retryable: boolean;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`retryable`](LanceError.md#retryable)
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
readonly optional sqlJobId: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`sqlJobId`](LanceError.md#sqljobid)
|
||||
|
||||
***
|
||||
|
||||
### stack?
|
||||
|
||||
```ts
|
||||
optional stack: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stack`](LanceError.md#stack)
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
readonly optional statusCode: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`statusCode`](LanceError.md#statuscode)
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
readonly optional tableName: string;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`tableName`](LanceError.md#tablename)
|
||||
|
||||
***
|
||||
|
||||
### code
|
||||
|
||||
```ts
|
||||
readonly static code: "Timeout" = "Timeout";
|
||||
```
|
||||
|
||||
#### Overrides
|
||||
|
||||
[`LanceError`](LanceError.md).[`code`](LanceError.md#code-1)
|
||||
|
||||
***
|
||||
|
||||
### prepareStackTrace()?
|
||||
|
||||
```ts
|
||||
static optional prepareStackTrace: (err, stackTraces) => any;
|
||||
```
|
||||
|
||||
Optional override for formatting stack traces
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **err**: `Error`
|
||||
|
||||
* **stackTraces**: `CallSite`[]
|
||||
|
||||
#### Returns
|
||||
|
||||
`any`
|
||||
|
||||
#### See
|
||||
|
||||
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`prepareStackTrace`](LanceError.md#preparestacktrace)
|
||||
|
||||
***
|
||||
|
||||
### stackTraceLimit
|
||||
|
||||
```ts
|
||||
static stackTraceLimit: number;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`stackTraceLimit`](LanceError.md#stacktracelimit)
|
||||
|
||||
## Methods
|
||||
|
||||
### captureStackTrace()
|
||||
|
||||
```ts
|
||||
static captureStackTrace(targetObject, constructorOpt?): void
|
||||
```
|
||||
|
||||
Create .stack property on a target object
|
||||
|
||||
#### Parameters
|
||||
|
||||
* **targetObject**: `object`
|
||||
|
||||
* **constructorOpt?**: `Function`
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Inherited from
|
||||
|
||||
[`LanceError`](LanceError.md).[`captureStackTrace`](LanceError.md#capturestacktrace)
|
||||
@@ -0,0 +1,21 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / isAlreadyExistsError
|
||||
|
||||
# Function: isAlreadyExistsError()
|
||||
|
||||
```ts
|
||||
function isAlreadyExistsError(error): error is TableAlreadyExistsError | DatabaseAlreadyExistsError | ColumnAlreadyExistsError
|
||||
```
|
||||
|
||||
True for table, database, and column create conflicts.
|
||||
|
||||
## Parameters
|
||||
|
||||
* **error**: `unknown`
|
||||
|
||||
## Returns
|
||||
|
||||
error is TableAlreadyExistsError \| DatabaseAlreadyExistsError \| ColumnAlreadyExistsError
|
||||
@@ -0,0 +1,21 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / isLanceError
|
||||
|
||||
# Function: isLanceError()
|
||||
|
||||
```ts
|
||||
function isLanceError(error): error is LanceError
|
||||
```
|
||||
|
||||
True when `error` was raised by the LanceDB native core.
|
||||
|
||||
## Parameters
|
||||
|
||||
* **error**: `unknown`
|
||||
|
||||
## Returns
|
||||
|
||||
`error is LanceError`
|
||||
@@ -26,12 +26,32 @@
|
||||
- [BranchContents](classes/BranchContents.md)
|
||||
- [Branches](classes/Branches.md)
|
||||
- [Catalog](classes/Catalog.md)
|
||||
- [ColumnAlreadyExistsError](classes/ColumnAlreadyExistsError.md)
|
||||
- [ColumnNotFoundError](classes/ColumnNotFoundError.md)
|
||||
- [Connection](classes/Connection.md)
|
||||
- [CreateDirError](classes/CreateDirError.md)
|
||||
- [DatabaseAlreadyExistsError](classes/DatabaseAlreadyExistsError.md)
|
||||
- [DatabaseNames](classes/DatabaseNames.md)
|
||||
- [DatabaseNotFoundError](classes/DatabaseNotFoundError.md)
|
||||
- [EmbeddingFunctionNotFoundError](classes/EmbeddingFunctionNotFoundError.md)
|
||||
- [Expr](classes/Expr.md)
|
||||
- [ExternalError](classes/ExternalError.md)
|
||||
- [FieldNotFoundError](classes/FieldNotFoundError.md)
|
||||
- [HeaderProvider](classes/HeaderProvider.md)
|
||||
- [HttpError](classes/HttpError.md)
|
||||
- [Index](classes/Index.md)
|
||||
- [IndexNotFoundError](classes/IndexNotFoundError.md)
|
||||
- [InvalidExpressionError](classes/InvalidExpressionError.md)
|
||||
- [InvalidInputError](classes/InvalidInputError.md)
|
||||
- [InvalidTableNameError](classes/InvalidTableNameError.md)
|
||||
- [Job](classes/Job.md)
|
||||
- [JobCancelledError](classes/JobCancelledError.md)
|
||||
- [JobFailedError](classes/JobFailedError.md)
|
||||
- [JobNotFoundError](classes/JobNotFoundError.md)
|
||||
- [LanceArrowError](classes/LanceArrowError.md)
|
||||
- [LanceError](classes/LanceError.md)
|
||||
- [LanceFormatError](classes/LanceFormatError.md)
|
||||
- [LanceRuntimeError](classes/LanceRuntimeError.md)
|
||||
- [Listing](classes/Listing.md)
|
||||
- [MakeArrowTableOptions](classes/MakeArrowTableOptions.md)
|
||||
- [MatchQuery](classes/MatchQuery.md)
|
||||
@@ -39,20 +59,32 @@
|
||||
- [MergeInsertBuilder](classes/MergeInsertBuilder.md)
|
||||
- [MultiMatchQuery](classes/MultiMatchQuery.md)
|
||||
- [NativeJsHeaderProvider](classes/NativeJsHeaderProvider.md)
|
||||
- [NotAComputedColumnError](classes/NotAComputedColumnError.md)
|
||||
- [NotAMaterializedViewError](classes/NotAMaterializedViewError.md)
|
||||
- [NotSupportedError](classes/NotSupportedError.md)
|
||||
- [OAuthHeaderProvider](classes/OAuthHeaderProvider.md)
|
||||
- [OAuthSession](classes/OAuthSession.md)
|
||||
- [ObjectStoreError](classes/ObjectStoreError.md)
|
||||
- [OtherError](classes/OtherError.md)
|
||||
- [PermutationBuilder](classes/PermutationBuilder.md)
|
||||
- [PhraseQuery](classes/PhraseQuery.md)
|
||||
- [Query](classes/Query.md)
|
||||
- [QueryBase](classes/QueryBase.md)
|
||||
- [RetryError](classes/RetryError.md)
|
||||
- [Scannable](classes/Scannable.md)
|
||||
- [SchemaError](classes/SchemaError.md)
|
||||
- [Session](classes/Session.md)
|
||||
- [SqlError](classes/SqlError.md)
|
||||
- [StaticHeaderProvider](classes/StaticHeaderProvider.md)
|
||||
- [Table](classes/Table.md)
|
||||
- [TableAlreadyExistsError](classes/TableAlreadyExistsError.md)
|
||||
- [TableCorruptedError](classes/TableCorruptedError.md)
|
||||
- [TableDelta](classes/TableDelta.md)
|
||||
- [TableNotFoundError](classes/TableNotFoundError.md)
|
||||
- [TagContents](classes/TagContents.md)
|
||||
- [Tags](classes/Tags.md)
|
||||
- [TakeQuery](classes/TakeQuery.md)
|
||||
- [TimeoutError](classes/TimeoutError.md)
|
||||
- [VectorColumnOptions](classes/VectorColumnOptions.md)
|
||||
- [VectorQuery](classes/VectorQuery.md)
|
||||
|
||||
@@ -138,6 +170,7 @@
|
||||
- [JobInfo](interfaces/JobInfo.md)
|
||||
- [JobProgress](interfaces/JobProgress.md)
|
||||
- [JobWaitOptions](interfaces/JobWaitOptions.md)
|
||||
- [LanceErrorOptions](interfaces/LanceErrorOptions.md)
|
||||
- [ListingOptions](interfaces/ListingOptions.md)
|
||||
- [MaterializedViewDefinition](interfaces/MaterializedViewDefinition.md)
|
||||
- [MemtableStats](interfaces/MemtableStats.md)
|
||||
@@ -236,7 +269,9 @@
|
||||
- [connectNamespace](functions/connectNamespace.md)
|
||||
- [func](functions/func.md)
|
||||
- [instrumentLanceDbMetrics](functions/instrumentLanceDbMetrics.md)
|
||||
- [isAlreadyExistsError](functions/isAlreadyExistsError.md)
|
||||
- [isBlobField](functions/isBlobField.md)
|
||||
- [isLanceError](functions/isLanceError.md)
|
||||
- [lit](functions/lit.md)
|
||||
- [litBool](functions/litBool.md)
|
||||
- [litInt](functions/litInt.md)
|
||||
|
||||
@@ -0,0 +1,227 @@
|
||||
[**@lancedb/lancedb**](../README.md) • **Docs**
|
||||
|
||||
***
|
||||
|
||||
[@lancedb/lancedb](../globals.md) / LanceErrorOptions
|
||||
|
||||
# Interface: LanceErrorOptions
|
||||
|
||||
## Extends
|
||||
|
||||
- `ErrorOptions`
|
||||
|
||||
## Properties
|
||||
|
||||
### cause?
|
||||
|
||||
```ts
|
||||
optional cause: unknown;
|
||||
```
|
||||
|
||||
#### Inherited from
|
||||
|
||||
`ErrorOptions.cause`
|
||||
|
||||
***
|
||||
|
||||
### code?
|
||||
|
||||
```ts
|
||||
optional code: string;
|
||||
```
|
||||
|
||||
Rust variant name. Subclasses set this from their static [LanceError.code](../classes/LanceError.md#code-1).
|
||||
|
||||
***
|
||||
|
||||
### columnName?
|
||||
|
||||
```ts
|
||||
optional columnName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### connectFailures?
|
||||
|
||||
```ts
|
||||
optional connectFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### databaseName?
|
||||
|
||||
```ts
|
||||
optional databaseName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### errorCode?
|
||||
|
||||
```ts
|
||||
optional errorCode: string;
|
||||
```
|
||||
|
||||
Machine-readable code reported by a remote server, when it sent one.
|
||||
|
||||
***
|
||||
|
||||
### functionName?
|
||||
|
||||
```ts
|
||||
optional functionName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### grpcCode?
|
||||
|
||||
```ts
|
||||
optional grpcCode: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### indexName?
|
||||
|
||||
```ts
|
||||
optional indexName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### jobId?
|
||||
|
||||
```ts
|
||||
optional jobId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### jobRequestId?
|
||||
|
||||
```ts
|
||||
optional jobRequestId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### maxConnectFailures?
|
||||
|
||||
```ts
|
||||
optional maxConnectFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### maxReadFailures?
|
||||
|
||||
```ts
|
||||
optional maxReadFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### maxRequestFailures?
|
||||
|
||||
```ts
|
||||
optional maxRequestFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### namespacePath?
|
||||
|
||||
```ts
|
||||
optional namespacePath: string[];
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### path?
|
||||
|
||||
```ts
|
||||
optional path: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### phase?
|
||||
|
||||
```ts
|
||||
optional phase: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### readFailures?
|
||||
|
||||
```ts
|
||||
optional readFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### requestFailures?
|
||||
|
||||
```ts
|
||||
optional requestFailures: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### requestId?
|
||||
|
||||
```ts
|
||||
optional requestId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### resourceKind?
|
||||
|
||||
```ts
|
||||
optional resourceKind: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### resourceName?
|
||||
|
||||
```ts
|
||||
optional resourceName: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### retryable?
|
||||
|
||||
```ts
|
||||
optional retryable: boolean;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### sqlJobId?
|
||||
|
||||
```ts
|
||||
optional sqlJobId: string;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### statusCode?
|
||||
|
||||
```ts
|
||||
optional statusCode: number;
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### tableName?
|
||||
|
||||
```ts
|
||||
optional tableName: string;
|
||||
```
|
||||
Reference in New Issue
Block a user