]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/common/errors.rb
1 # Username is syntactically invalid.
2 class InvalidUserError
< StandardError
5 # Domain is syntactically invalid.
6 class InvalidDomainError
< StandardError
10 # Used to indicate that an user does not exist.
11 class NonexistentUserError
< StandardError
14 # Used to indicate that a domain does not exist.
15 class NonexistentDomainError
< StandardError
19 # When you try to rename a user on top of one that already exists.
20 class UserAlreadyExistsError
< StandardError