celo-org / celo-monorepo

Official repository for core projects comprising the Celo platform
https://celo.org
Apache License 2.0
694 stars 365 forks source link

Add additional error handling logic for the submitting the transaction on chain. #8994

Closed dckesler closed 2 years ago

dckesler commented 2 years ago

Currently, the error handling for submitting the transaction will only throw the COULD_NOT_PUT_TRANSACTION error code. We should add in additional logic using the error object coming from ContractKit to handle the different error cases.

dckesler commented 2 years ago

So on investigation ContractKit doesn't have the errors we need. Closing this ticket.