aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/olm/error.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/olm/error.hh b/include/olm/error.hh
index 960de72..b0d3764 100644
--- a/include/olm/error.hh
+++ b/include/olm/error.hh
@@ -27,6 +27,8 @@ enum struct ErrorCode {
BAD_MESSAGE_KEY_ID = 6, /*!< The message references an unknown key id */
INVALID_BASE64 = 7, /*!< The input base64 was invalid */
BAD_ACCOUNT_KEY = 8, /*!< The supplied account key is invalid */
+ UNKNOWN_PICKLE_VERSION = 9, /*!< The pickled object is too new */
+ CORRUPTED_PICKLE = 10, /*!< The pickled object couldn't be decoded */
};
} // namespace olm