File: exceptions.py

package info (click to toggle)
django-invitations 2.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 456 kB
  • sloc: python: 1,484; makefile: 27; sh: 6
file content (16 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class AlreadyInvited(Exception):
    """User has a valid, pending invitation"""

    pass


class AlreadyAccepted(Exception):
    """User has already accepted an invitation"""

    pass


class UserRegisteredEmail(Exception):
    """This email is already registered by a site user"""

    pass