Henchway
4 years agoContributor
Throw error to trigger error pipeline
Hello,
I’m wondering if there is any way to trigger the error pipeline, without having to execute it with a Pipeline Execute snap. The idea is that I filter for Client or Server errors, which i’d like to handle differently based on the error code and in case of an internal server error, simply throw it to the error pipeline to log the error and create a ticket.
Does anyone have an idea of a good way of throwing the error to the error pipe without explicitly triggering it through a Pipeline Execute snap?
Best regards
Thomas