API > @wxt-dev/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:265
Properties
cause
cause?:
unknown
Inherited from
Error.cause
Source
node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
key
key:
string
Source
packages/storage/dist/index.d.mts:263
message
message:
string
Inherited from
Error.message
Source
node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1077
name
name:
string
Inherited from
Error.name
Source
node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1076
stack
stack?:
string
Inherited from
Error.stack
Source
node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/lib/lib.es5.d.ts:1078
version
version:
number
Source
packages/storage/dist/index.d.mts:264
prepareStackTrace
static
prepareStackTrace?: (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.6/node_modules/@types/node/globals.d.ts:98
stackTraceLimit
static
stackTraceLimit:number
Inherited from
Error.stackTraceLimit
Source
node_modules/.pnpm/@types+node@20.17.6/node_modules/@types/node/globals.d.ts:100
Methods
captureStackTrace()
static
captureStackTrace(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.6/node_modules/@types/node/globals.d.ts:91
Generated using typedoc-plugin-markdown and TypeDoc