Begin updating docs; remove two unused exit codes.
[mailshears.git] / lib / common / errors.rb
1 # An error indicating that a username is syntactically invalid.
2 class InvalidUserError < StandardError; end
3
4 # An error indicating that a domain is syntactically invalid.
5 class InvalidDomainError < StandardError; end
6
7 # An error indicating that a user does not exist.
8 class NonexistentUserError < StandardError; end
9
10 # An error indicating that a domain does not exist.
11 class NonexistentDomainError < StandardError; end
12
13 # An error indicating that some user already exists. For example, if
14 # one tries to rename a user and the destination user already exists.
15 class UserAlreadyExistsError < StandardError; end