Skip to content

Conversation

spsjvc
Copy link
Member

@spsjvc spsjvc commented Jun 13, 2025

This PR is part of a stack created with Aviator.

Summary

Steps to test

Copy link

vercel bot commented Jun 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
arbitrum-token-bridge ✅ Ready (Inspect) Visit Preview Jun 19, 2025 1:04pm

Comment on lines +387 to +400
const handleTxSigningError = (error: unknown, txRequestLabel: string) => {
// capture error and show toast for anything that's not user rejecting error
if (!isUserRejectedError(error)) {
handleError({
error,
label: txRequestLabel,
category: 'transaction_signing'
})

errorToast(`${(error as Error)?.message ?? error}`)
}

return { error: error as unknown as Error }
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error handling code is reused between tx_ethers and tx_wagmi

@spsjvc spsjvc force-pushed the refactor-cctp-transfer-tx-request branch from e7e8de0 to a1a1d1f Compare June 17, 2025 09:36
@spsjvc spsjvc force-pushed the ui-driver-viem-tx-type branch 2 times, most recently from 1e7a1e9 to 3136884 Compare June 17, 2025 09:37
Base automatically changed from refactor-cctp-transfer-tx-request to master June 18, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant