Added WindowsError, for Mark Hammond's extensions.
This commit is contained in:
parent
8006d316bc
commit
1efac33755
|
@ -33,6 +33,8 @@ Exception(*)
|
|||
| |
|
||||
| +-- IOError
|
||||
| +-- OSError(*)
|
||||
| |
|
||||
| +-- WindowsError(*)
|
||||
|
|
||||
+-- EOFError
|
||||
+-- RuntimeError
|
||||
|
@ -139,6 +141,10 @@ class OSError(EnvironmentError):
|
|||
"""OS system call failed."""
|
||||
pass
|
||||
|
||||
class WindowsError(OSError):
|
||||
"""MS-Windows OS system call failed."""
|
||||
pass
|
||||
|
||||
class RuntimeError(StandardError):
|
||||
"""Unspecified run-time error."""
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue