From a5d4f7a336060c7d62f4acd986d22123f3d2baf0 Mon Sep 17 00:00:00 2001 From: dblythy Date: Fri, 4 Dec 2020 15:08:52 +1100 Subject: [PATCH] Update ParseError.js --- src/ParseError.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/ParseError.js b/src/ParseError.js index e73bc51a9..4f8b11107 100644 --- a/src/ParseError.js +++ b/src/ParseError.js @@ -451,6 +451,22 @@ ParseError.ACCOUNT_ALREADY_LINKED = 208; */ ParseError.INVALID_SESSION_TOKEN = 209; +/** + * Error code indicating an error enabling or verifying MFA + * + * @property {number} MFA_ERROR + * @static + */ +ParseError.MFA_ERROR = 210; + +/** + * Error code indicating that a valid MFA token must be provided + * + * @property {number} MFA_TOKEN_REQUIRED + * @static + */ +ParseError.MFA_TOKEN_REQUIRED = 211; + /** * Error code indicating that a user cannot be linked to an account because * that account's id could not be found.