From 97d1467210f215eaa548c53caaa604f07a227304 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 5 Nov 2020 16:34:08 -0800 Subject: [PATCH] Add errors.EPAYWALL. --- src/mega/errors.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mega/errors.py b/src/mega/errors.py index 1719aa8..8aca88f 100644 --- a/src/mega/errors.py +++ b/src/mega/errors.py @@ -124,6 +124,9 @@ class EAPPKEY(RequestError): code = -22 message = 'Invalid application key; request not processed' +class EPAYWALL(RequestError): + code = -29 + message = 'Over Disk Quota Paywall is blocking this operation' _CODE_TO_CLASSES = { -1: EINTERNAL, @@ -148,6 +151,7 @@ _CODE_TO_CLASSES = { -20: EWRITE, -21: EREAD, -22: EAPPKEY, + -29: EPAYWALL, } def error_for_code(code):