Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

exception->string converts an exception into readable string.

Parameter Description
e Exception to be converted

Example

Example 1: A safe call procedure from rupi.

(define (rupi:safecall x . y)
  (with-exception-catcher
    (lambda (e) (rupi:log 1 "rupi:safecall : exception: " (exception->string e)) #f)
    (lambda () (apply x y))))
Clone this wiki locally