errorcore
Capturing Errors

Capturing Errors

Capture policy defines the shape of every incident that leaves the process. The main choices are when the SDK records an exception, how much request context to attach, and whether local frame state is useful in your runtime.

Keep the policy narrow. Capture enough to explain the failure, not so much that every package becomes a general-purpose trace dump.

On this page