feat(lib): introduce doom-error & error functions

This commit is contained in:
Henrik Lissner
2024-10-20 02:00:03 -04:00
parent 49f4bf6819
commit fafdb25dd8
2 changed files with 26 additions and 11 deletions

View File

@ -228,7 +228,6 @@ the return value of the executed CLI."
;;
;;; Errors
(define-error 'doom-cli-error "There was an unexpected error" 'doom-error)
(define-error 'doom-cli-definition-error "Invalid CLI definition" 'doom-cli-error)
(define-error 'doom-cli-autoload-error "Failed to autoload deferred command" 'doom-cli-error)
(define-error 'doom-cli-invalid-prefix-error "Prefix has no defined commands" 'doom-cli-error)