Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
exceptions.py26 linesDownload Raw Back to requests_toolbelt
1# -*- coding: utf-8 -*-2"""Collection of exceptions raised by requests-toolbelt."""3 4 5class StreamingError(Exception):6    """Used in :mod:`requests_toolbelt.downloadutils.stream`."""7    pass8 9 10class VersionMismatchError(Exception):11    """Used to indicate a version mismatch in the version of requests required.12 13    The feature in use requires a newer version of Requests to function14    appropriately but the version installed is not sufficient.15    """16    pass17 18 19class RequestsVersionTooOld(Warning):20    """Used to indicate that the Requests version is too old.21 22    If the version of Requests is too old to support a feature, we will issue23    this warning to the user.24    """25    pass26 
codekingpro/portable-devtools · Team Ai