* elmo2.el (elmo-error): Define.
authorueno <ueno>
Tue, 22 Aug 2000 09:26:09 +0000 (09:26 +0000)
committerueno <ueno>
Tue, 22 Aug 2000 09:26:09 +0000 (09:26 +0000)
(elmo-open-error): Define.
(elmo-authenticate-error): Define.

elmo/elmo2.el

index 7a0373c..2461b42 100644 (file)
        (featurep 'berkeley-db))
     (require 'elmo-database))
 
+(elmo-define-error 'elmo-error "error" 'error)
+(elmo-define-error 'elmo-open-error "Cannot open" 'elmo-error)
+(elmo-define-error 'elmo-authenticate-error "Login failed" 'elmo-open-error)
+
 (defun elmo-quit ()
   (interactive)
   (if (featurep 'elmo-imap4)