wg-backend-django/dell-env/lib/python3.11/site-packages/django/contrib/sessions/exceptions.py
2023-10-30 14:40:43 +07:00

20 lines
359 B
Python

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