]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/common/errors.rb
Clarify error class comments.
[mailshears.git] / lib / common / errors.rb
index 3607b8527d772fbb4fcf79f6062f21bb08accd9c..bcae691f9c3fbc7405558ddd82ecb3e883f9a8f4 100644 (file)
@@ -4,17 +4,16 @@ class DatabaseError < StandardError
 end
 
 
 end
 
 
-# Perhaps surprisingly, used to indicate that an account name is
-# invalid.
-class InvalidAccountError < StandardError
+# Username is syntactically invalid.
+class InvalidUserError < StandardError
 end
 
 
 end
 
 
-# Used to indicate that an account does not exist on the filesystem.
-class NonexistentAccountError < StandardError
+# Used to indicate that an user does not exist.
+class NonexistentUserError < StandardError
 end
 
 
 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
 class NonexistentDomainError < StandardError
 end