Mercurial > libervia-backend
diff sat/core/exceptions.py @ 3186:84b0c8b4dee0
plugin download, aesgcm: fixed handling of HTTP errors
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 26 Feb 2020 15:54:43 +0100 |
parents | 559a625a236b |
children | 5d67502bdc8c |
line wrap: on
line diff
--- a/sat/core/exceptions.py Wed Feb 26 15:54:43 2020 +0100 +++ b/sat/core/exceptions.py Wed Feb 26 15:54:43 2020 +0100 @@ -123,6 +123,10 @@ pass +class NetworkError(Exception): + """Something is wrong with a request (e.g. HTTP(S))""" + + class InvalidCertificate(Exception): """A TLS certificate is not valid""" pass