This client library is used to manually report exceptions to Coderr (Err.Report(exception)
).
For more information about Coderr, visit our homepage.
Simply catch an exception and report it:
public void UpdatePost(int uid, ForumPost post)
{
try
{
_service.Update(uid, post);
}
catch (Exception ex)
{
Err.Report(ex, new{ UserId = uid, ForumPost = post });
}
}
The context information will be attached as:
For automated handling, use one of the integration libraries found in nuget.
https://www.nuget.org/packages?q=coderr.client
- HTTP proxy detection and usage when error reports are uploaded.
- Queued uploads (to allow the application to still be responsive, even if uploading are done over a slow connection)
- Compressed upload to minimize bandwidth usage.
- Context data collection
- Custom context data
- Anonymous object
- View models etc
- Adding tags to errors
- Allow user to leave feedback
- Automated information collection from windows, the process and the current thread.