comparison 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
comparison
equal deleted inserted replaced
3185:554b3b632378 3186:84b0c8b4dee0
121 # Something which need to be done is not available yet 121 # Something which need to be done is not available yet
122 class NotReady(Exception): 122 class NotReady(Exception):
123 pass 123 pass
124 124
125 125
126 class NetworkError(Exception):
127 """Something is wrong with a request (e.g. HTTP(S))"""
128
129
126 class InvalidCertificate(Exception): 130 class InvalidCertificate(Exception):
127 """A TLS certificate is not valid""" 131 """A TLS certificate is not valid"""
128 pass 132 pass
129 133
130 134