WindowsError is not defined on Linux.