Skip to content

Conversation

bkoropoff
Copy link
Contributor

According to the reference, any object can be an error message:

programs may generate errors with any value as the error object

The message handler in xpcall returns a new error object, which could be a different type:

This function is called with the original error object and returns a new error object

@CppCXY CppCXY merged commit 6988efe into EmmyLuaLs:main Sep 1, 2025
21 checks passed
@bkoropoff bkoropoff deleted the xpcall branch September 2, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants