error-handling

command
v1.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Example: Error Handling

This example demonstrates proper error handling with the SDK using only the public spooled package: the spooled.Is*Error classifiers, spooled.AsSpooledError for structured access, and spooled.IsRetryable.

Usage:

API_KEY=sp_test_... go run main.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL