Company
Open Source
Product Features
Session Replay
Error Monitoring
Logging
Tracing
Integrations
Grafana Integration
Highlight.io Changelog
Menu
Highlight Docs
Company
Open Source
Product Features
Session Replay
Error Monitoring
Logging
Tracing
Integrations
Grafana Integration
Highlight.io Changelog
Getting Started
Frontend
JS SDK Configuration
Backend: Error Monitoring
Python
Backend: Logging
Hosting Providers
Backend: Tracing
Native OpenTelemetry
Fullstack Frameworks
Self Host & Local Dev
Manually Reporting Errors
In each of our language SDKs, highlight.io supports manually sending errors. This is useful for reporting errors that are not caught by the SDK, or that you would like to define internally as your own application errors.
In javascript, we support this via the H.consumeError
method (see our SDK docs) and in other languages, we maintain this naming convention (pending casing conventions of the language in question.).
Example in javascript:
H.consumeError(error, 'Error in Highlight custom boundary!', { component: 'JustThroughAnError.tsx', });