1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

exceptions: Export constructor and predicate for '&quit-exception'.

* module/ice-9/exceptions.scm: Re-export '&quit-exception' and export
'make-quit-exception' and 'quit-exception?'.
(quit-exception?): New procedure.
This commit is contained in:
Ludovic Courtès 2020-01-18 23:33:01 +01:00
parent a0fdb4efc1
commit d47061db23

View file

@ -37,6 +37,7 @@
&error
&programming-error
&quit-exception
&non-continuable
raise-exception
@ -58,7 +59,10 @@
&external-error
make-external-error
external-error?
make-quit-exception
quit-exception?
make-programming-error
programming-error?
@ -173,6 +177,8 @@
(record-constructor &exception-with-kind-and-args))
(define make-quit-exception
(record-constructor &quit-exception))
(define quit-exception?
(exception-predicate &quit-exception))
(define (default-guile-exception-converter key args)
(make-exception (make-error)