Skip to content

SubstateNotFoundError

Defined in: ootle/src/errors/index.ts:60

Raised by Provider.getSubstate when the substate does not exist, or when the version asked for has been spent. substateId and version are the lookup that missed (version is null for the latest). The provider’s own error chains via cause.

new SubstateNotFoundError(message, options): SubstateNotFoundError

Defined in: ootle/src/errors/index.ts:65

string

ErrorOptions & object

SubstateNotFoundError

OotleError.constructor

readonly substateId: string

Defined in: ootle/src/errors/index.ts:62


readonly version: number | null

Defined in: ootle/src/errors/index.ts:63


readonly static errorName: "SubstateNotFoundError" = "SubstateNotFoundError"

Defined in: ootle/src/errors/index.ts:61

The stable name reported by instances of this class. Each SDK subclass sets it to its own class name, because a minified build can rename the class itself.

OotleError.errorName