Skip to content

Class: DocumentNotFound ​

Defined in: packages/soukai/src/errors/DocumentNotFound.ts:3

Extends ​

Constructors ​

Constructor ​

new DocumentNotFound(id, collection?): DocumentNotFound

Defined in: packages/soukai/src/errors/DocumentNotFound.ts:7

Parameters ​

id ​

string

collection? ​

string

Returns ​

DocumentNotFound

Overrides ​

SoukaiError.constructor

Properties ​

cause? ​

optional cause?: unknown

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24

Inherited from ​

SoukaiError.cause


collection? ​

readonly optional collection?: string

Defined in: packages/soukai/src/errors/DocumentNotFound.ts:5


id ​

readonly id: string

Defined in: packages/soukai/src/errors/DocumentNotFound.ts:4


message ​

message: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075

Inherited from ​

SoukaiError.message


name ​

name: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074

Inherited from ​

SoukaiError.name


stack? ​

optional stack?: string

Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from ​

SoukaiError.stack