Skip to main content

BroccoliError

The error type for all Broccoli operations.

Variants

Error handling

Basic error handling

In message handlers

Converting from other errors

Common error scenarios

Connection errors

Serialization errors

Timeout errors

Feature not implemented

Error recovery patterns

Retry with backoff

Graceful degradation

Logging errors

Custom error types

If you need richer error information in your handlers: