# documentação Django 4.0.8.dev20220803071047

# Código fonte para django.contrib.sessions.exceptions

    from django.core.exceptions import BadRequest, SuspiciousOperation

    class InvalidSessionKey(SuspiciousOperation):
        """Invalid characters in session key"""

        pass

    class SuspiciousSession(SuspiciousOperation):
        """The session may be tampered with"""

        pass

    class SessionInterrupted(BadRequest):
        """The session was interrupted."""

        pass