else and finally
Premium
A try block can have two more parts: else runs only when no exception was raised, and finally runs no matter what. Both are useful for cleanup and post-success steps.
A try block can have two more parts: else runs only when no exception was raised, and finally runs no matter what. Both are useful for cleanup and post-success steps.