Coderr.Client
Coderr.Client copied to clipboard
Core client library for Coderr
trafficstars
Core client for Coderr
This client library is used to manually report exceptions to Coderr (Err.Report(exception)).
For more information about Coderr, visit our homepage.
Reporting the first error
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:

Automated handling
For automated handling, use one of the integration libraries found in nuget.
https://www.nuget.org/packages?q=coderr.client
Features in this library
- 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.