File: exceptions.py

package info (click to toggle)
python-django-casclient 1.2.0-2%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 400 kB
  • sloc: python: 764; makefile: 160; sh: 24
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