Class: MenuItemNotFoundError
Defined in: packages/component-driver-mui-v7/src/errors/MenuItemNotFoundError.ts:5
Extends​
ItemNotFoundError
Constructors​
Constructor​
new MenuItemNotFoundError(
label,driver):MenuItemNotFoundError
Defined in: packages/component-driver-mui-v7/src/errors/MenuItemNotFoundError.ts:6
Parameters​
label​
string
driver​
ComponentDriver<any>
Returns​
MenuItemNotFoundError
Overrides​
ItemNotFoundError.constructor
Properties​
cause?​
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
Inherited from​
ItemNotFoundError.cause
driverName​
readonlydriverName:string
Defined in: packages/core/dist/index.d.mts:1376
Inherited from​
ItemNotFoundError.driverName
label​
readonlylabel:string
Defined in: packages/component-driver-mui-v7/src/errors/MenuItemNotFoundError.ts:7
locatorDescription​
readonlylocatorDescription:string
Defined in: packages/core/dist/index.d.mts:1401
Inherited from​
ItemNotFoundError.locatorDescription
message​
message:
string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from​
ItemNotFoundError.message
name​
name:
string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from​
ItemNotFoundError.name
stack?​
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from​
ItemNotFoundError.stack
Methods​
isError()​
staticisError(error):error is Error
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.esnext.error.d.ts:21
Indicates whether the argument provided is a built-in Error instance or not.
Parameters​
error​
unknown
Returns​
error is Error
Inherited from​
ItemNotFoundError.isError