aboutsummaryrefslogtreecommitdiff
path: root/include/axolotl/error.hh
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-06-15 17:47:22 +0100
committerMark Haines <mark.haines@matrix.org>2015-06-15 17:47:22 +0100
commit026e4394bb333e978a37f5821f0a1c3dca6acb1d (patch)
treea06da10956a3757f6f0da3e7126777c1c2da81ea /include/axolotl/error.hh
parent6fe3b7eb73fb11e1cba27b28add5b14430b66259 (diff)
Implement creating a new account
Diffstat (limited to 'include/axolotl/error.hh')
-rw-r--r--include/axolotl/error.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/axolotl/error.hh b/include/axolotl/error.hh
index 3bf0e63..b875784 100644
--- a/include/axolotl/error.hh
+++ b/include/axolotl/error.hh
@@ -11,6 +11,8 @@ enum struct ErrorCode {
BAD_MESSAGE_FORMAT = 4, /*!< The message couldn't be decoded */
BAD_MESSAGE_MAC = 5, /*!< The message couldn't be decrypted */
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 */
};
} // namespace axolotl