chore(core): add support for hooks to throw on error (#4483)
chore(core): add support for hooks to throw on error (#4483)

* feat(core): add support for hook execution to throw on error

* moved throwOnError into HookOptions + added missing types
botpress/botpress,botpress/botpress,botpress/botpress,botpress/botpress