Reactive Web: Inherit Global Exception Handler from "Home" Module
Question

I haven't been able to find a way or find any documentation explaining how to do this: Is it possible for modules to inherit the OnException from a "Home" module? 


For more context we have a Home module, which is the entry point for our application and includes the Login screen and Theme (including left nav menu, header, footer). In it's Common flow we have the OnException action. Our other application modules reference Home to inherit the above mentioned elements, with the exception of OnException. Is it possible to also inherit the OnException so that exceptions from consumer modules bubble up to it? That way we can have one true Global Exception Handler instead of having to make copies.

Solution

Hi Joseph,

In mobile and reactive web apps Exception flows are not able to be public yet. That will be implemented soon. In the meantime the only possible workaround is to have copies of it.

Cheers,
Tiago Simões

Thank you, Tiago. I look forward to the future implementation!

Hello

Any recent updates on this feature? 

"In mobile and reactive web apps Exception flows are not able to be public yet. That will be implemented soon. In the meantime the only possible workaround is to have copies of it."

Thanks in advanse

Hello,

There is no update on this feature yet.
In Traditional, we can make Exception Handler public, that can be used in the consumer module.
In Reactive, we need to define a separate Handler for consumer module also. But, we can make other screens (such as Invalid Permissions) public in producer module to redirect to those screens on Exception.

Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.