jnr.constants.platform.Errno , e.g. Errno.ENOENT.
| Modifier and Type | Field and Description |
|---|---|
| public static final PyString | |
| public static final PyObject | errorcode
Reverse mapping of codes to names. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static void | |
| private static void | |
| private static void | |
| public static PyObject |
| __doc__ | back to summary |
|---|---|
| public static final PyString __doc__ | |
| errorcode | back to summary |
|---|---|
| public static final PyObject errorcode Reverse mapping of codes to names. | |
| errno | back to summary |
|---|---|
| public errno() | |
| addCode | back to summary |
|---|---|
| private static void addCode(PyObject dict, String name, int code, String message) | |
| classDictInit | back to summary |
|---|---|
| public static void classDictInit(PyObject dict) | |
| initPosix | back to summary |
|---|---|
| private static void initPosix(PyObject dict) | |
| initWindows | back to summary |
|---|---|
| private static void initWindows(PyObject dict) Setup errnos for Windows. Windows replaced the BSD/POSIX socket errnos with its own Winsock equivalents (e.g. EINVAL -> WSAEINVAL). We painstakenly map the missing constants to their WSA equivalent values and expose the WSA constants on their own. | |
| strerror | back to summary |
|---|---|
| public static PyObject strerror(PyObject code)
Deprecated Use jnr.constants.platform.Errno.valueOf(code).toString() (or os.strerror from Python) instead.
| |