Skip to content

Commit

Permalink
Make errors continuable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Sep 5, 2020
1 parent 7776b86 commit 5f042c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolkit.lisp
Expand Up @@ -22,7 +22,7 @@
(remf args :ok)
`(let ((,err (progn ,@form)))
(unless (find ,err ,ok)
(error ,datum ,@args)))))
(cerror "Ignore the error." ,datum ,@args)))))

(defmacro with-generic-error (&body form)
(let ((err (gensym "ERR")))
Expand Down

0 comments on commit 5f042c8

Please sign in to comment.