I have a question regarding Dancer2 and hooks. I would like use a specific hook from Dancer::Core::Error. It's the hook after_error. And what I am trying to do is have this hook applied to all errors in my application. But I want it applied from a module that I use. In other words, if the someone uses the module, then the hook gets applied to any errors.
Anyway, I can't seem to "export" the hook from the module to the application. I read the docs, but I am still can't get it to work. Any ideas?
In reply to Dancer2 hook by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |