File: exceptions.py

package info (click to toggle)
python-django-casclient 1.5.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: python: 756; makefile: 160
file content (17 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from django.core.exceptions import ValidationError


class CasTicketException(ValidationError):
    """
    The ticket fails to validate
    """

    pass


class CasConfigException(ValidationError):
    """
    The config is wrong
    """

    pass