Skip to content

SDK API Reference / ErrorCategory

Enumeration: ErrorCategory ​

Error categories for retry behavior classification

Enumeration Members ​

INTERNAL_ERROR ​

INTERNAL_ERROR: "INTERNAL_ERROR"

Internal errors - failures not attributable to user input. Most are retryable server-side issues, but a few are not: INTERNAL also covers tdx programming/wiring bugs, which no amount of retrying will fix.

Membership here is what makes BaseCommand print a stack trace, since diagnosing any of these needs the call site.


USER_ERROR ​

USER_ERROR: "USER_ERROR"

User errors - non-retryable client-side issues