Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
flockwave-gps / gps / http / errors.py
Size: Mime:
"""Error classes for the low-level HTTP module."""

from flockwave.gps.errors import Error

__all__ = ("ResponseError",)


class ResponseError(Error):
    """Error thrown by HTTP response objects when they encounter an HTTP
    error code signalling an error condition.
    """

    pass


class AccessDeniedError(ResponseError):
    """Error thrown by HTTP response objects that indicate that access to a
    particular resource was denied by the server.
    """

    pass


class AuthenticationNeededError(ResponseError):
    """Error thrown by HTTP response objects that indicate that authentication
    will be needed to access a resource.
    """

    pass