I'm developing an extension that uses the
member_update_end hook. This extension requires communicating with a 3rd party API, which I can't guarantee will always be active.
As a side note, the hook will be called when a specific custom member field is updated, which I do in my templates via
Should this 3rd party API fail to respond with the output I want, how can I present (or redirect to?) an error message/template to the user? Is there an EE method (or best practice) for such things while inside an extension, that makes sure it won't interrupt anything else that needs to happen (like other hooks that may be set, etc.)?
Thanks in advance.