Hilbish/golibs/bait
TorchedSammy 068a5b5149
feat(bait): add error hook and hooks function (closes #205)
an `error` hook is now thrown when an event in lua
throws an error (errors from go side should not happen)
it includes the event name, handler, and error message

a hooks function has also been added. it returns a table
of handlers for a specific event.
2022-10-11 17:41:13 -04:00
..
bait.go feat(bait): add error hook and hooks function (closes #205) 2022-10-11 17:41:13 -04:00