eval-str error expression

For the Compleat Fan
Locked
Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

eval-str error expression

Post by Dmi »

If I want to supply the context to eval-str, I must also specify an error-handler expression: (eval-str str expr ctx)
In this case, can error-handler to have access to the error-value, returned by evaluator?
Because in this syntax using (catch .... 'value) technique becames impossible.
Possible, can expr take one parameter, that is error-value?
WBR, Dmi

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

Oh, found!
(error-text) does that :-)
WBR, Dmi

Locked