Class: MissingPartError<T>
@atomic-testing/core.MissingPartError
Type parameters
Name | Type |
---|---|
T | extends ScenePart |
Hierarchy
-
↳
MissingPartError
Constructors
constructor
• new MissingPartError<T
>(missingPartName
, driver
): MissingPartError
<T
>
Type parameters
Name | Type |
---|---|
T | extends ScenePart |
Parameters
Name | Type |
---|---|
missingPartName | keyof T | readonly keyof T [] |
driver | ComponentDriver <T > |
Returns
Overrides
Defined in
packages/core/src/errors/MissingPartError.ts:8
Properties
cause
• Optional
cause: unknown
Inherited from
Defined in
node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2022.error.d.ts:24
drive
• Readonly
drive: ComponentDriver
<any
>
Inherited from
Defined in
packages/core/src/errors/ErrorBase.ts:6
driver
• Readonly
driver: ComponentDriver
<T
>
Defined in
packages/core/src/errors/MissingPartError.ts:10
message
• message: string
Inherited from
Defined in
node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es5.d.ts:1077
missingPartName
• Readonly
missingPartName: keyof T
| readonly keyof T
[]
Defined in
packages/core/src/errors/MissingPartError.ts:9
name
• name: string
Inherited from
Defined in
node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es5.d.ts:1076
stack
• Optional
stack: string
Inherited from
Defined in
node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace
▪ Static
Optional
prepareStackTrace: (err
: Error
, stackTraces
: CallSite
[]) => any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Type declaration
▸ (err
, stackTraces
): any
Parameters
Name | Type |
---|---|
err | Error |
stackTraces | CallSite [] |
Returns
any
Inherited from
Defined in
node_modules/.pnpm/@types+node@20.16.1/node_modules/@types/node/globals.d.ts:28
stackTraceLimit
▪ Static
stackTraceLimit: number
Inherited from
Defined in
node_modules/.pnpm/@types+node@20.16.1/node_modules/@types/node/globals.d.ts:30
Methods
captureStackTrace
▸ captureStackTrace(targetObject
, constructorOpt?
): void
Create .stack property on a target object
Parameters
Name | Type |
---|---|
targetObject | object |
constructorOpt? | Function |
Returns
void
Inherited from
Defined in
node_modules/.pnpm/@types+node@20.16.1/node_modules/@types/node/globals.d.ts:21