File: exceptions.py

package info (click to toggle)
django-dbbackup 4.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 512 kB
  • sloc: python: 3,767; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 322 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Exceptions for database connectors."""


class ConnectorError(Exception):
    """Base connector error"""


class DumpError(ConnectorError):
    """Error on dump"""


class RestoreError(ConnectorError):
    """Error on restore"""


class CommandConnectorError(ConnectorError):
    """Failing command"""