Open
Description
Apparently, it is safe to raise an error in a luau require method so it would be nice if NavigateError had a Error variant that just errors with said error. As for use-cases, better/more user friendly errors when handling typo'd registered modules or just doing resolution in general (e.g. foo is not a valid builtin module
instead of @abc is not a valid alias
as an error etc.)
I actually got this working on a fork of mlua which I'm planning of PRing for reference
Metadata
Metadata
Assignees
Labels
No labels