Hi Matt,

Matt Wette <matt.we...@gmail.com> skribis:

> Is there any error I can throw in Guile that I don't catch myself
> but will result in a user-friendly error message at the top?  Not this:
>
> Throw to key `misc' with args `("read-yaml-file" "file not found: ~S"
> ("demo1x.yml") #f)'.

You can call ‘print-exception’ like so:

  (print-exception (current-error-port) frame key args)

This is using the pre-3.0 key+args exception style.

HTH,
Ludo’.


Reply via email to