X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Ferrors.rb;h=3607b8527d772fbb4fcf79f6062f21bb08accd9c;hb=0a90e5ed76da797d6343e7e85aab7d3f62cbc231;hp=a930a71a800c2391b7e87d4ea14155f204e747b3;hpb=da71911046617ccffbb899b57162c5e6bdbb37ee;p=mailshears.git diff --git a/src/errors.rb b/src/errors.rb index a930a71..3607b85 100644 --- a/src/errors.rb +++ b/src/errors.rb @@ -2,3 +2,19 @@ # databases might eventually use. class DatabaseError < StandardError end + + +# Perhaps surprisingly, used to indicate that an account name is +# invalid. +class InvalidAccountError < StandardError +end + + +# Used to indicate that an account does not exist on the filesystem. +class NonexistentAccountError < StandardError +end + + +# Used to indicate that a domain does not exist on the filesystem. +class NonexistentDomainError < StandardError +end