Skip to content

TransactionRejectedError

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

Raised when consensus rejects a transaction.

txId is the rejected transaction’s identifier; reason is the human-readable reason (the indexer’s abort_details string or a JSON.stringify of the abort variant when no string was supplied). rejectReason is the structured engine reject reason if available — currently optional because the indexer’s Decision.Abort carries the lighter AbortReason shape, not the full RejectReason. Callers should branch on reason (string) for most cases.

new TransactionRejectedError(message, options): TransactionRejectedError

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

string

ErrorOptions & object

TransactionRejectedError

OotleError.constructor

readonly reason: string

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


readonly optional rejectReason?: RejectReason

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


readonly txId: string

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