Function isWhirlpoolError
Parameters
- error: unknown
- transactionMessage: { instructions: Record<number, { programAddress: Address }> }
Optional
code: TProgramErrorCode
Returns error is SolanaError<4615026> & Readonly<
{ context: Readonly<{ code: TProgramErrorCode }> },
>