Asynchronous Error Handling
Version X18 introduces a new way to handle asynchronous errors. Those errors can be caused by all asynchronous operations.
Unhandled Errors
TX Text Control allows you to attach the unhandledError event to handle those types of errors. You can catch errors directly on the action or use this event to catch all unhandled errors in one function.
The demo is trying to insert a table with an invalid table ID. If no checkbox is checked, the error is unhandled. If the checkbox "Catch errors on action" is checked, the error is directly catched in the action of the function. "Catch unhandled errors" catches all unhandled errors in the "unhandledError" event.
This demo uses the MVC version of TXTextControl.Web included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.
Version X19
Sample Source Code
No code required.
No code required.
© 2021 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.