OSError osError
read-only

The underlying OS error. Can be null if the exception is not raised due to an OS error.