mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
* module/rnrs/exceptions.scm (&guile): New condition type. (guile-condition-converters): New variable. (convert-guile-condition, default-guile-condition-converter, set-guile-condition-converter!, guile-common-conditions, guile-lexical-violation-converter, guile-syntax-violation-converter, guile-assertion-violation-converter, guile-system-error-converter, guile-undefined-violation-converter, guile-error-converter, guile-implementation-restriction-converter): New procedures. (with-exception-handler): Catch all exceptions, not just R6RS exceptions. Convert native Guile exceptions to R6RS conditions, preserving the original Guile exception information in the &guile condition object. (raise): If the condition includes a &guile condition, use 'throw' to throw the original native guile exception instead of raising an R6RS exception. * test-suite/tests/r6rs-exceptions.test ("guile condition conversions"): Add tests. |
||
---|---|---|
.. | ||
arithmetic | ||
io | ||
records | ||
base.scm | ||
bytevectors.scm | ||
conditions.scm | ||
control.scm | ||
enums.scm | ||
eval.scm | ||
exceptions.scm | ||
files.scm | ||
hashtables.scm | ||
lists.scm | ||
mutable-pairs.scm | ||
mutable-strings.scm | ||
programs.scm | ||
r5rs.scm | ||
sorting.scm | ||
syntax-case.scm | ||
unicode.scm |