Wow! So turns out it was a silly error on my part. I had tried the Error object previously, but it was while looking at a different part of the code... I was actually looking/changing the 'imagekit' case in the code and being stumped as to why I was still seeing the behavior as I explained. Anyhow, it is working as it should when passing in an Error object. Thanks for the extra insight!
SOLVED Add server side hooks listeners in runtime?
I'm trying to figure this out. Is there a way to add a listener for a server side hook in runtime without adding it to
The plugin I'm creating would benefit from this so the user have more control over when data should be fetched from an external API. I believe the answer will be no, but I need to ask.
@baris That's it! Thanks a lot.