OptionalcaptureCapture uncaught window errors and unhandled promise rejections. Defaults to true.
OptionalcontextStatic non-sensitive metadata attached to every record.
OptionalenabledDisable all reporting while keeping the configuration in place. Defaults to true when onError is provided.
OptionalonForward one sanitized error record to the host application (Sentry, Datadog, custom API, etc.).
Host-controlled production error reporting. No remote endpoint is enabled implicitly.