]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/common/errors.rb
1 # An error indicating that a username is syntactically invalid.
2 class InvalidUserError
< StandardError
; end
4 # An error indicating that a domain is syntactically invalid.
5 class InvalidDomainError
< StandardError
; end
7 # An error indicating that a user does not exist.
8 class NonexistentUserError
< StandardError
; end
10 # An error indicating that a domain does not exist.
11 class NonexistentDomainError
< StandardError
; end
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