Actors and async data :: Internet Computer says that the points at which tentative state changes and message sends are irrevocably committed are:
- await, return ,… but also throw
Why is state not reverted after a throw statement? If division by zero happens or an assert fails then the state is also reverted, right? BUt why not through throw statement?
Is it possible to catch the thrown error in the local canister? In this case state revert make no sense, but if the thrown error is not catched in the local canister then the state should be reverted, why is it not the case?