The exception handling process in a .NET-based Function App is similar to any other .NET application. Best practices for handling exceptions in .NET can be found at the following two links:
- MSDN: https://msdn.microsoft.com/en-us/library/seyhszts%28v=vs.110%29.aspx
- Code project: https://www.codeproject.com/Articles/9538/Exception-Handling-Best-Practices-inNET
We will not elaborate on best practices further in this book.
Let us, instead, outline the error handling in Functions Core tools local environment for two cases--handled and unhandled exceptions.
To demonstrate exception handling, let us create another timer-triggered function called ErrorFunction. To do so, follow the same steps as in the previous section on creating ...