oskusalerma / blyte

Screenplay writing program

This URL has Read+Write access

blyte / error.py
100644 18 lines (13 sloc) 0.391 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# exception classes
 
class BlyteError(Exception):
    def __init__(self, msg):
        Exception.__init__(self, msg)
        self.msg = msg
 
    def __str__(self):
        return str(self.msg)
 
class ConfigError(BlyteError):
    def __init__(self, msg):
        BlyteError.__init__(self, msg)
 
class MiscError(BlyteError):
    def __init__(self, msg):
        BlyteError.__init__(self, msg)