Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

exceptions.py 359B

12345678910111213141516171819
  1. from django.core.exceptions import BadRequest, SuspiciousOperation
  2. class InvalidSessionKey(SuspiciousOperation):
  3. """Invalid characters in session key"""
  4. pass
  5. class SuspiciousSession(SuspiciousOperation):
  6. """The session may be tampered with"""
  7. pass
  8. class SessionInterrupted(BadRequest):
  9. """The session was interrupted."""
  10. pass