Thrown when blockchain operations fail due to network, contract, or transaction issues.
Remarks
This error encompasses various blockchain-related failures including network
connectivity issues, contract execution failures, insufficient gas, invalid
transaction parameters, or smart contract reverts. The original error is
preserved to provide detailed debugging information while maintaining a
consistent SDK error interface.
// Check if it's a network issue if (error.originalError?.message.includes('network')) { // Retry with exponential backoff awaitretryOperation(); } } }
Thrown when blockchain operations fail due to network, contract, or transaction issues.
Remarks
This error encompasses various blockchain-related failures including network connectivity issues, contract execution failures, insufficient gas, invalid transaction parameters, or smart contract reverts. The original error is preserved to provide detailed debugging information while maintaining a consistent SDK error interface.
Common causes:
Example