Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Change Service Message #348


User avatar
0
thobiasxp created

Hi,

I want to shows the duplicate error message from service. how do i customize this error message from service.i hope you will reply back soon.

Thanks


3 Answer(s)
  • User Avatar
    0
    thobiasxp created

    Hi

    Kindly Make a reply ASAP.I stuck up with that area.I need to customize the error message.i tried it in many ways, it's not working properly.so guide me how to modify it

    Thank you

  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    You can throw UserFriendlyException from application service. In that case, your custom message is displayed to the user. See docs for more: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Handling-Exceptions">http://www.aspnetboilerplate.com/Pages/ ... Exceptions</a>

  • User Avatar
    0
    thobiasxp created

    Hi

    It's Perfectly worked...Thank you so much.

    Thanks