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