mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +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:
parent
a0fdb4efc1
commit
d47061db23
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue