Dan Sugalski <[EMAIL PROTECTED]> wrote:
> At 6:16 PM +0100 11/2/04, Leopold Toetsch wrote:
>>
>>If it's pure binary pitch a fit.
>>If it has an encoding attached, continue,

> Yeah, that's the plan.

> I'd like to add another entry to the internal API:

>    OPTIONAL_INTERNAL_EXCEPTION

> which works like INTERNAL_EXCEPTION only it checks first to see if
> the exception should get thrown before throwing it.

We are doing that already in the find_global opcode. Depending on a bit
in the interpreter->ctx.errors flag, we through a real exception or not.

So I'd propose:

- make that a real_exception instead
- new API is then real_exception_if_error(..., ERROR_foo_bit, ...)


leo

Reply via email to