# Backend application errors management

**URL:** <https://discuss.workflowgen.com/t/backend-application-errors-management/1516>\
**Category:** Integration\
**Created:** [October 28, 2019, 10:42am UTC](https://discuss.workflowgen.com/t/backend-application-errors-management/1516 "2019-10-28T10:42:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [October 29, 2019, 5:05pm UTC](https://discuss.workflowgen.com/t/backend-application-errors-management/1516/2 "2019-10-29T17:05:47Z")

</div>

Hi @sara,

You can use the try-catch blocks in code behind and alert the error message returned or you can customize an error message based on the exception returned.

Here is an example of how to make Javascript calls from code behind:

> [@Call Jquery Code From Code Behind](https://discuss.workflowgen.com/t/call-jquery-code-from-code-behind/1406/4):
>
> Hi, The ClientScriptManager.RegisterStartupScript method allows you to inject at client JS when the page postback. Is that what you would like to achieve? Here is a sample process of how it is being used in the form designer. You can open the Form / .NET tabs to view the code behind I have added. [https://advantys.box.com/s/m5t46uv0sfh27bjobxduwshms6f7ipdh](https://advantys.box.com/s/m5t46uv0sfh27bjobxduwshms6f7ipdh) Form / .NET / Code Behind // Place here your ASP.NET procedures and global variables. // It will be declared within a \<script runat="s…

Regards,  
Eddy.

---

_[View the full topic](https://discuss.workflowgen.com/t/backend-application-errors-management/1516)._
