[REBOL] Coerting Errors to a string?
From: philb:upnaway at: 21-Dec-2001 8:20
Hi Guys, Given that my program recieves an error I disarm it, and I have an error object, for example err: disarm try [a: 1 / 0] probe err make object! [ code: 400 type: 'math id: 'zero-divide arg1: none arg2: none arg3: none near: [a: 1 / 0] where: none ] How do I convert it to a nicely formatted readable string ?>> err** Math Error: Attempt to divide by zero ** Near: a: 1 / 0