getting file size for all dict files to be downloaded. coming to be 400mb or so.
[worddb.git] / libs / dmigrations / exceptions.py
blob18629aa59e1076cf9a1f149ace8bc735bf49949c
1 class MigrationError(Exception):
2 pass
4 class NoSuchMigrationError(MigrationError):
5 def __init__(self, name):
6 #super(Exception, self).__init__(u"No such migration: %s" % name)
7 # NOTE: Trying to be 2.4 and 2.5 compatible
8 self.message = u"No such migration: %s" % name
9 self.args = [self.message]
10 self.name = name
12 class BadMigrationError(MigrationError):
13 pass
15 class AmbiguousMigrationNameError(MigrationError):
16 pass
18 class InconsistentStateError(MigrationError):
19 pass
21 class DevFlagRequiredError(MigrationError):
22 pass