API > wxt/utils/match-patterns > InvalidMatchPattern
Class: InvalidMatchPattern 
Contents 
Extends 
- Error
Constructors 
new InvalidMatchPattern(matchPattern, reason) 
new InvalidMatchPattern(
matchPattern,reason):InvalidMatchPattern
Parameters 
▪ matchPattern: string
▪ reason: string
Overrides 
Error.constructor
Source 
node_modules/.pnpm/@webext-core+match-patterns@1.0.3/node_modules/@webext-core/match-patterns/lib/index.d.ts:37
Properties 
cause 
cause?:
unknown
Inherited from 
Error.cause
Source 
node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
message 
message:
string
Inherited from 
Error.message
Source 
node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1077
name 
name:
string
Inherited from 
Error.name
Source 
node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack 
stack?:
string
Inherited from 
Error.stack
Source 
node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts:1078
prepareStackTrace 
staticprepareStackTrace?: (err,stackTraces) =>any
Optional override for formatting stack traces
Parameters 
▪ err: Error
▪ stackTraces: CallSite[]
Returns 
See 
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from 
Error.prepareStackTrace
Source 
node_modules/.pnpm/@types+node@20.17.30/node_modules/@types/node/globals.d.ts:98
stackTraceLimit 
staticstackTraceLimit:number
Inherited from 
Error.stackTraceLimit
Source 
node_modules/.pnpm/@types+node@20.17.30/node_modules/@types/node/globals.d.ts:100
Methods 
captureStackTrace() 
staticcaptureStackTrace(targetObject,constructorOpt?):void
Create .stack property on a target object
Parameters 
▪ targetObject: object
▪ constructorOpt?: Function
Inherited from 
Error.captureStackTrace
Source 
node_modules/.pnpm/@types+node@20.17.30/node_modules/@types/node/globals.d.ts:91
Generated using typedoc-plugin-markdown and TypeDoc