File: errors.py

package info (click to toggle)
django-reversion 5.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 868 kB
  • sloc: python: 2,631; makefile: 22; sh: 7; sql: 1
file content (13 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
class RevertError(Exception):

    """Exception thrown when something goes wrong with reverting a model."""


class RevisionManagementError(Exception):

    """Exception that is thrown when something goes wrong with revision managment."""


class RegistrationError(Exception):

    """Exception thrown when registration with django-reversion goes wrong."""