Skip to content
On this page

This is an auto-generated document to support extension builders understand the internal packages they can utilize. To find our written guides, tutorials, and API/SDK reference, check out our main docs .

Directus / @directus/errors / DirectusError

Interface: DirectusError<Extensions>

Extends

  • Error

Type parameters

Extensions = void

Properties

cause?

optional cause: unknown

Inherited from

Error.cause

Source

node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24


code

code: string

Source

packages/errors/src/create-error.ts:3


extensions

extensions: Extensions

Source

packages/errors/src/create-error.ts:2


message

message: string

Inherited from

Error.message

Source

node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1076


name

name: string

Inherited from

Error.name

Source

node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1075


stack?

optional stack: string

Inherited from

Error.stack

Source

node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1077


status

status: number

Source

packages/errors/src/create-error.ts:4