File: exceptions.py

package info (click to toggle)
sen 0.6.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 492 kB
  • sloc: python: 5,445; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class NotAvailableAnymore(Exception):
    """
    This object was available but isn't anymore.
    """


class NotifyError(Exception):
    """
    There was an error, we should notify user.
    """


class TerminateApplication(Exception):
    """
    Close application gracefully.
    """