summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-result.c
diff options
context:
space:
mode:
authorStephen H. Westin <swestin@earthlink.net>2004-12-17 22:04:49 +0000
committerStephen H. Westin <swestin@earthlink.net>2004-12-17 22:04:49 +0000
commit78950c6316a9cb5f92dbad4cef143d51240bcc1a (patch)
treef528b1104a963a5954496852c9a28472b482dfca /libgphoto2/gphoto2-result.c
parent3ecc90afd76f07c884acecbf683ef02595b7f254 (diff)
downloadlibgphoto2-78950c6316a9cb5f92dbad4cef143d51240bcc1a.tar.gz
Added two new error codes:
GP_ERROR_CAMERA_ERROR for errors reported by the camera GP_ERROR_OS_FAILURE for errors reported by the operating system git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@7447 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2/gphoto2-result.c')
-rw-r--r--libgphoto2/gphoto2-result.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-result.c b/libgphoto2/gphoto2-result.c
index 28a531751..d9bb88b4e 100644
--- a/libgphoto2/gphoto2-result.c
+++ b/libgphoto2/gphoto2-result.c
@@ -50,6 +50,8 @@ static struct {
{GP_ERROR_CAMERA_BUSY, N_("I/O in progress")},
{GP_ERROR_PATH_NOT_ABSOLUTE, N_("Path not absolute")},
{GP_ERROR_CANCEL, N_("Operation cancelled")},
+ {GP_ERROR_CAMERA_ERROR, N_("Camera could not complete operation")},
+ {GP_ERROR_OS_FAILURE, N_("OS error in camera communication")},
{0, NULL}
};