diff options
Diffstat (limited to 'cython')
-rw-r--r-- | cython/webinspector.pxi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cython/webinspector.pxi b/cython/webinspector.pxi index eb9fba1..f77547d 100644 --- a/cython/webinspector.pxi +++ b/cython/webinspector.pxi @@ -9,6 +9,8 @@ cdef extern from "libimobiledevice/webinspector.h": WEBINSPECTOR_E_PLIST_ERROR = -2 WEBINSPECTOR_E_MUX_ERROR = -3 WEBINSPECTOR_E_SSL_ERROR = -4 + WEBINSPECTOR_E_RECEIVE_TIMEOUT = -5, + WEBINSPECTOR_E_NOT_ENOUGH_DATA = -6, WEBINSPECTOR_E_UNKNOWN_ERROR = -256 webinspector_error_t webinspector_client_new(idevice_t device, lockdownd_service_descriptor_t descriptor, webinspector_client_t * client) @@ -27,7 +29,7 @@ cdef class WebinspectorError(BaseError): WEBINSPECTOR_E_MUX_ERROR: "MUX error", WEBINSPECTOR_E_SSL_ERROR: "SSL Error", WEBINSPECTOR_E_NOT_ENOUGH_DATA: 'Not enough data', - WEBINSPECTOR_E_TIMEOUT: 'Connection timeout', + WEBINSPECTOR_E_RECEIVE_TIMEOUT: 'Connection timeout', WEBINSPECTOR_E_UNKNOWN_ERROR: "Unknown error" } BaseError.__init__(self, *args, **kwargs) |