Class: AdonisRTUInvalidConfigurationError
Thrown when an invalid configuration object is passed to the defineConfig function.
Extends
AdonisRTUError
Constructors
Constructor
ts
new AdonisRTUInvalidConfigurationError(reason: ValidationError): AdonisRTUInvalidConfigurationError;Parameters
| Parameter | Type |
|---|---|
reason | ValidationError |
Returns
AdonisRTUInvalidConfigurationError
Overrides
ts
AdonisRTUError.constructor;Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
cause? | public | unknown | - | AdonisRTUError.cause |
stack? | public | string | - | AdonisRTUError.stack |
prepareStackTrace? | static | (err: Error, stackTraces: CallSite[]) => any | Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces | AdonisRTUError.prepareStackTrace |
stackTraceLimit | static | number | - | AdonisRTUError.stackTraceLimit |
Accessors
[toStringTag]
Get Signature
ts
get toStringTag: string;Returns
string
Inherited from
ts
AdonisRTUError.[toStringTag]message
Get Signature
ts
get message(): string;Returns
string
Inherited from
ts
AdonisRTUError.message;name
Get Signature
ts
get name(): string;Returns
string
Inherited from
ts
AdonisRTUError.name;Methods
[toPrimitive]()
ts
toPrimitive: string | true;Parameters
| Parameter | Type |
|---|---|
hint | "string" | "number" | "default" |
Returns
string | true
Inherited from
ts
AdonisRTUError.[toPrimitive]toString()
ts
toString(): string;Returns a string representation of an object.
Returns
string
Inherited from
ts
AdonisRTUError.toString;[hasInstance]()
ts
static hasInstance: boolean;Parameters
| Parameter | Type |
|---|---|
instance | unknown |
Returns
boolean
Inherited from
ts
AdonisRTUError.[hasInstance]captureStackTrace()
ts
static captureStackTrace(targetObject: object, constructorOpt?: Function): void;Create .stack property on a target object
Parameters
| Parameter | Type |
|---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
ts
AdonisRTUError.captureStackTrace;