workerd
workerd copied to clipboard
Improve "Disallowed operation called within global scope" error
Two key improvements:
- Include which module is trying to perform the global scope operation. This can be caused by modules in the dependency chain, try to identify which
- Include the specific type of operation being tried to give users more context
- Include a link to relevant documentation
//cc @dario-piotrowicz @mikenomitch @irvinebroque