Constructs a new ModuleVersionMismatchError.
The expected module reference.
The found module reference.
Readonly
codeReadonly
expectedThe expected module reference.
Readonly
foundThe found module reference.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackGets the name of the error, including its code.
The name of the error.
Static
captureGenerated using TypeDoc
Error type indicating the token ID does not match the module version expected by the client.