chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] how to access all error info in with-exception-handl


From: Hans Bulfone
Subject: Re: [Chicken-users] how to access all error info in with-exception-handler?
Date: Fri, 28 Mar 2008 23:38:15 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

hi,

On Fri, Mar 28, 2008 at 04:34:48PM -0500, Heinrich Taube wrote:

> now, when i trap the same error in an environmentn with my error handler 
> all i seem to get is the first part of the string, ie the message without 
> the symbol name:
>
> >>> Error: unbound variable
>
> my question is: how can i get a string that  will contain what error 
> messages normally show in the repl??

i think the rest is in (condition-property-accessor 'exn 'arguments).
you can also use print-error-message and print-call-chain from the
library unit.

hth&bye,
hans.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]