API > wxt/utils/storage > MigrationError
Class: MigrationError 
Contents 
Extends 
- Error
Constructors 
new MigrationError(key, version, options) 
new MigrationError(
key,version,options?):MigrationError
Parameters 
▪ key: string
▪ version: number
▪ options?: ErrorOptions
Overrides 
Error.constructor
Source 
packages/storage/dist/index.d.mts:286
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
key 
key:
string
Source 
packages/storage/dist/index.d.mts:284
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
version 
version:
number
Source 
packages/storage/dist/index.d.mts:285
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