For my simple code
It seems that the return statement is not needed after the error statement.
- Does that mean the function would be early terminated once error is thrown?
- If the above is true, what if i do want to process with the rest of function even after an error is thrown. For example, i can still compute c = a - b in my function.