Closed
Description
Hi Team,
I feel we can improve the exception handling experience by introducing some kind of throws statement. Right now when any method/function needs to throws an exception either we needs to check for the implementation/documentation of that function. What if compiler suggests us the function can throws an exception so we needs to call that method under from try catch statement.
And what if that compiler suggests us the type of exception as well like Java's checked exceptions.