errorcore
Error Handling

Capture Failures

Sometimes the SDK cannot capture every requested field. Local state may be unavailable, request context may be partial, or a serialization step may fail.

The failure policy should stay conservative:

  • keep the core error if possible
  • drop the failing optional surface
  • avoid crashing the application because capture was partial

A partial incident is usually better than a lost one, provided the package is clearly marked as incomplete.

On this page