Exception Handling

Try Catch in Solidity: Handling the revert Exception

When a revert happens in solidity, all the state changes done in that transaction are rolled back. All the changes…