Draft: Modify the Show instance for IOException to include the error code when available (#16048)
Fixes #16048
This changes the Show instance for IOException to include the error number. Tests that involve exceptions have been changed to accordingly.
There are also some tests in the process
library that need to be changed to include the error code. Should I make a separate PR there?
Edited by Sylvain Henry