Commit Graph

3 Commits (9166bb4fb03f9e01580a949589e095cbeb468c24)

Author SHA1 Message Date
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
TorchedSammy 8d8b298053
docs: clarify what hooks are from 2022-03-06 12:04:28 -04:00
TorchedSammy 52a6eb2125
docs: document available bait hooks 2021-11-22 16:36:32 -05:00