|
From: Andreas R. <and...@gm...> - 2004-04-08 10:08:21
|
> I'd suggest that the VM changes are pretty small but ought to include
> the ability to pass back an error value (fortunately I have ancient
> code to do that sitting somewhere) so the image knows what the problem
> was and does the smart thing.
Yes, that is a "must do" in my understanding. Thanks for reminding. I think
we might just extend #primitiveFail to include an "error reason", so you
would use it via:
interpreterProxy->primitiveFail(ERROR_BAD_ARGUMENT);
or somesuch.
Cheers,
- Andreas
|