workerd icon indicating copy to clipboard operation
workerd copied to clipboard

Improve illegal invocation error in the runtime

Open jasnell opened this issue 1 year ago • 4 comments

An internal PR adding the v8 patch to the internal repo will also be necessary here. I want to make sure we are good with this approach, however, before opening that.

jasnell avatar Jul 09 '24 16:07 jasnell

Is there a world where we could link to relevant docs?

Sure. What link should that be?

jasnell avatar Jul 09 '24 16:07 jasnell

I just pushed this up as a draft - https://github.com/cloudflare/cloudflare-docs/pull/15541

Will wordsmith & clean up tomorrow. Link would be: https://developers.cloudflare.com/workers/errors/illegal-invocation

mikenomitch avatar Jul 10 '24 00:07 mikenomitch

@mikenomitch — think the link would need to be /workers/observability/errors/#illegal-invocation-errors

irvinebroque avatar Jul 10 '24 14:07 irvinebroque

Updated with the link to the new error documentation.

jasnell avatar Jul 11 '24 03:07 jasnell