Directus / @directus/errors / DirectusErrorConstructor
Interface: DirectusErrorConstructor<Extensions> ​
Type Parameters ​
• Extensions = void
Constructors ​
new DirectusErrorConstructor() ​
new DirectusErrorConstructor(
extensions
,options
?):DirectusError
<Extensions
>
Parameters ​
• extensions: Extensions
• options?: ErrorOptions
Returns ​
DirectusError
<Extensions
>
Defined in ​
packages/errors/src/create-error.ts:8
Properties ​
prototype ​
readonly
prototype:DirectusError
<Extensions
>