From 2b0b374200d46bc2219299ff7ab67fea2e0b9d03 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 29 Oct 2015 20:56:29 -0400 Subject: [PATCH] Clarify error class comments. --- lib/common/errors.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.44.2