Returning an error from a global action in frontend - Gadget Developers