File: weexceptions.py

package info (click to toggle)
weevely 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,336 kB
  • sloc: python: 7,732; php: 1,035; sh: 53; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 458 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
""" Fatal errors """
class FatalException(Exception):
    pass

""" Fatal errors on module development """
class DevException(Exception):
    pass

""" Argument parsing tried to Exit """
class ArgparseError(Exception):
    pass

""" Error on channel internals """
class ChannelException(Exception):
    # This should be intercepted not at send()
    # but at some level before (e.g. when) calling
    # setup to interrupt directly the cmd execution
    pass