more exceptions
This commit is contained in:
parent
c86a5ff4a3
commit
da310715f4
|
@ -108,7 +108,33 @@ exc_type!(BufferError, PyExc_BufferError);
|
|||
#[cfg(Py_3_4)]
|
||||
exc_type!(BlockingIOError, PyExc_BlockingIOError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(BrokenPipeError, PyExc_BrokenPipeError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(ChildProcessError, PyExc_ChildProcessError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(ConnectionError, PyExc_ConnectionError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(ConnectionAbortedError, PyExc_ConnectionAbortedError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(ConnectionRefusedError, PyExc_ConnectionRefusedError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(ConnectionResetError, PyExc_ConnectionResetError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(FileExistsError, PyExc_FileExistsError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(FileNotFoundError, PyExc_FileNotFoundError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(InterruptedError, PyExc_InterruptedError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(IsADirectoryError, PyExc_IsADirectoryError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(NotADirectoryError, PyExc_NotADirectoryError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(PermissionError, PyExc_PermissionError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(ProcessLookupError, PyExc_ProcessLookupError);
|
||||
#[cfg(Py_3_4)]
|
||||
exc_type!(TimeoutError, PyExc_TimeoutError);
|
||||
|
||||
exc_type!(UnicodeDecodeError, PyExc_UnicodeDecodeError);
|
||||
exc_type!(UnicodeEncodeError, PyExc_UnicodeEncodeError);
|
||||
|
|
Loading…
Reference in a new issue