]> gitweb.michael.orlitzky.com - mailshears.git/blob - lib/common/errors.rb
Get the MvRunner working, at least for Postfixadmin.
[mailshears.git] / lib / common / errors.rb
1 # A generalization of PGError, and whatever MySQL and the other
2 # databases might eventually use.
3 class DatabaseError < StandardError
4 end
5
6
7 # Username is syntactically invalid.
8 class InvalidUserError < StandardError
9 end
10
11
12 # Used to indicate that an user does not exist.
13 class NonexistentUserError < StandardError
14 end
15
16
17 # Used to indicate that a domain does not exist.
18 class NonexistentDomainError < StandardError
19 end