diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-02-02 22:59:34 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-02-03 10:33:04 +0100 |
commit | c406c90289baa12663a382c7ed664f2cf93b75ab (patch) | |
tree | 55654fcd867a2cd650f2615e26e793b32d936375 /include | |
parent | ad680b8600aac8c26996b3af2d1414c3c0ebe4ee (diff) |
lok interaction handler: Add handling of io and network errors.
Change-Id: If7c84a7b24f2072439718fb0c473b73243f2ecc1
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitEnums.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h b/include/LibreOfficeKit/LibreOfficeKitEnums.h index b615bd94f9d1..5ce8610267ec 100644 --- a/include/LibreOfficeKit/LibreOfficeKitEnums.h +++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h @@ -265,6 +265,20 @@ typedef enum * lok::Office::setDocumentPassword(). */ LOK_CALLBACK_DOCUMENT_PASSWORD_TO_MODIFY, + + /** + * An error happened. + * + * The payload returns information further identifying the error, like: + * + * { + * "classification": "error" | "warning" | "info" + * "kind": "network" etc. + * "code": 403 | 404 | ... + * "message": freeform description + * } + */ + LOK_CALLBACK_ERROR, } LibreOfficeKitCallbackType; |