From: Michael Orlitzky Date: Fri, 30 Oct 2015 00:56:29 +0000 (-0400) Subject: Clarify error class comments. X-Git-Tag: 0.0.1~54 X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=commitdiff_plain;h=2b0b374200d46bc2219299ff7ab67fea2e0b9d03 Clarify error class comments. --- 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