@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / ExecutorExecuteError

Type Alias: ExecutorExecuteError

ExecutorExecuteError = InvalidInputError | NotConfiguredError | RpcError | TransactionOutcomeUnknownError | ContractRevertError

Defined in: packages/sdk/src/executor/types.ts:92

Failures from Executor.execute: a call list the chain guard refuses (empty, or a call for another chain), missing transport configuration, a transport / signer / node failure with the original as cause, a signed transaction whose receipt was not observed (TransactionOutcomeUnknownError), or a revert the send surfaced with data (a wallet's pre-send simulation, a decoded rejection). A built-in never throws anything else; a custom executor should hold to the same set — asExecuteError does it in one line, and passes a TransactionOutcomeUnknownError it is given through unchanged.