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.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SubstateNotFoundError(
message,options):SubstateNotFoundError
Defined in: ootle/src/errors/index.ts:65
Parameters
Section titled “Parameters”message
Section titled “message”string
options
Section titled “options”ErrorOptions & object
Returns
Section titled “Returns”SubstateNotFoundError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”substateId
Section titled “substateId”
readonlysubstateId:string
Defined in: ootle/src/errors/index.ts:62
version
Section titled “version”
readonlyversion:number|null
Defined in: ootle/src/errors/index.ts:63
errorName
Section titled “errorName”
readonlystaticerrorName:"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.