X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fcommon%2Ferrors.rb;h=bcae691f9c3fbc7405558ddd82ecb3e883f9a8f4;hp=d0bcfe200ef14c187c29ac6bfe26ba8cb3be0be6;hb=2b0b374200d46bc2219299ff7ab67fea2e0b9d03;hpb=72696d3f6e95ef773af9727e9c3459b9038b0fc2;ds=sidebyside diff --git a/lib/common/errors.rb b/lib/common/errors.rb index d0bcfe2..bcae691 100644 --- a/lib/common/errors.rb +++ b/lib/common/errors.rb @@ -4,17 +4,16 @@ class DatabaseError < StandardError end -# Perhaps surprisingly, used to indicate that an user name is -# invalid. +# Username is syntactically invalid. class InvalidUserError < StandardError end -# Used to indicate that an user does not exist on the filesystem. +# Used to indicate that an user does not exist. class NonexistentUserError < StandardError end -# Used to indicate that a domain does not exist on the filesystem. +# Used to indicate that a domain does not exist. class NonexistentDomainError < StandardError end