Base solution for your next web application
Open Closed

How to change the messageBox of userFriendly Exception. #10149


User avatar
0
shridhar.mole created
  • 10.2
  • Angular
  • .net core

In default implementation of createOrUpdateUser api , we are throwing userFriendly exception if users count excced MaxUserCount Feature . So I want to change the messageBox which shown on throwing this userFriendly exception, I want to show confirm messageBox which shows message "User count exceeds, If you want to upgrade click Yes". And when user clicks Yes button then I want to do some work. How can I achieve this.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @shridhar.mole

    Instead of using UserFriendlyException, you can return a specific result from server and show a confirm message and then, make a new request according to users choice.