Re: Parsing eval errors

2009-06-14 Thread Neil Jerram
Chris Dennis writes: > Thank you for your reply. I couldn't get handle-system-error to work, > but reading about it led me to display-error, which does what I want. Excellent! (If by a roundabout route.) Neil

Re: Parsing eval errors

2009-06-14 Thread Chris Dennis
Neil Jerram wrote: Chris Dennis writes: Hello Guilers Hi Chris, Is there some code anywhere for parsing the error information caught from local-eval? The following code is the best I have come up with so far, but the messages it produces aren't pretty: (define (error-handler key . args

Re: Parsing eval errors

2009-06-11 Thread Neil Jerram
Chris Dennis writes: > Hello Guilers Hi Chris, > Is there some code anywhere for parsing the error information caught > from local-eval? > > The following code is the best I have come up with so far, but the > messages it produces aren't pretty: > > (define (error-handler key . args) > (d

Parsing eval errors

2009-06-06 Thread Chris Dennis
Hello Guilers Is there some code anywhere for parsing the error information caught from local-eval? The following code is the best I have come up with so far, but the messages it produces aren't pretty: (define (error-handler key . args) (display (object->string key)) (for-each (l