Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

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

Defined in ​

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


code ​

code: string

Defined in ​

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


extensions ​

extensions: Extensions

Defined in ​

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


message ​

message: string

Inherited from ​

Error.message

Defined in ​

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


name ​

name: string

Inherited from ​

Error.name

Defined in ​

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


stack? ​

optional stack: string

Inherited from ​

Error.stack

Defined in ​

node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1078


status ​

status: number

Defined in ​

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