| 661 | } |
| 662 | |
| 663 | static int dfhack_onerror(lua_State *L) |
| 664 | { |
| 665 | luaL_checkany(L, 1); |
| 666 | lua_settop(L, 1); |
| 667 | |
| 668 | convert_to_exception(L, 1); |
| 669 | return 1; |
| 670 | } |
| 671 | |
| 672 | static int dfhack_error(lua_State *L) |
| 673 | { |
nothing calls this directly
no test coverage detected