Skip to content

fix: require explicit throwing of LuaState errors#12

Open
pcbzzz wants to merge 1 commit into
hollow-cube:mainfrom
pcbzzz:fix/lua-state-error-helpers
Open

fix: require explicit throwing of LuaState errors#12
pcbzzz wants to merge 1 commit into
hollow-cube:mainfrom
pcbzzz:fix/lua-state-error-helpers

Conversation

@pcbzzz

@pcbzzz pcbzzz commented Jun 11, 2026

Copy link
Copy Markdown

The codebase seems to expect LuaState#error to be self throwing, but 3cf6eb6 changed two of the three to return instead of throw.

After tinkering a bit more and running into other issues, it definitely seems more appropriate to go the opposite direction and make callers throw instead

@pcbzzz pcbzzz force-pushed the fix/lua-state-error-helpers branch from e274afa to b0a8021 Compare June 13, 2026 04:25
@pcbzzz pcbzzz changed the title fix: restore throwing LuaState error helpers fix: require explicit throwing of LuaState errors Jun 13, 2026
@pcbzzz pcbzzz force-pushed the fix/lua-state-error-helpers branch from b0a8021 to ab43472 Compare June 13, 2026 04:42
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.

1 participant