Skip to main content

Error Types

All SDK errors are variants of KrakenError:

Basic Handling

Retry Logic

Error Categories

These errors may succeed on retry:

Production Pattern

Best Practices

Log Everything

Always log the full error, including raw fields for API errors.

Use is_retryable()

Don’t hardcode retry logic. Use the built-in classification.

Handle BufferOverflow

This event means your handler is too slow. Optimize or filter.

Don't Swallow Errors

At minimum, log errors you don’t handle. Silent failures kill systems.