jenkins-bot has submitted this change and it was merged.
Change subject: pep8-fiy exceptions.py ......................................................................
pep8-fiy exceptions.py
Change-Id: Ibc6de40d4adef27d76a090ce0da10bfc66ecc32a --- M pywikibot/exceptions.py 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py index 8972fed..dd97cb0 100644 --- a/pywikibot/exceptions.py +++ b/pywikibot/exceptions.py @@ -119,10 +119,12 @@ class ServerError(Error): """Got unexpected server response"""
+ class FatalServerError(ServerError): """A fatal server error that's not going to be corrected by just sending the request again."""
+ class Server504Error(Error): """Server timed out with http 504 code"""