why can't we print exception type and message as well It's not about "printing". It's about what the server sends down to the client. Having arbitrary server-side exceptions, possibly containing ...
Based on the Exception type, the GetMessage() method can return specific messages based on the exception itself. One of the more common uses is to override the ...
One of the things we unintentionally got by using variants for exception types is that we now have two different exception types that both mean "doesn't throw", but only one of them can be called from ...