Documentation / @etherfold/processor-entities / SnapshotFormatError
Class: SnapshotFormatError ​
Defined in: packages/state-store/dist/snapshot-document.d.ts:187
A snapshot whose document this build does not know how to read.
Extends ​
Error
Constructors ​
Constructor ​
new SnapshotFormatError(
found,supported?):SnapshotFormatError
Defined in: packages/state-store/dist/snapshot-document.d.ts:191
Parameters ​
found ​
unknown
supported? ​
number
Returns ​
SnapshotFormatError
Overrides ​
Error.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 ​
Error.cause
found ​
readonlyfound:unknown
Defined in: packages/state-store/dist/snapshot-document.d.ts:188
message ​
message:
string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from ​
Error.message
name ​
readonlyname:"SnapshotFormatError"="SnapshotFormatError"
Defined in: packages/state-store/dist/snapshot-document.d.ts:190
Overrides ​
Error.name
stack? ​
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from ​
Error.stack
supported ​
readonlysupported:number
Defined in: packages/state-store/dist/snapshot-document.d.ts:189
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 ​
Error.isError