Tinkex.Types.RequestErrorCategory (Tinkex v0.3.4)
View SourceRequest error category.
Mirrors Python tinker.types.request_error_category.RequestErrorCategory.
Wire format uses lowercase strings: "unknown" | "server" | "user"
(Python StrEnum.auto() returns lowercase in Python 3.11+)
Parser is case-insensitive for defensive robustness.
Summary
Functions
Parse wire format string to atom (case-insensitive).
Check if error category is retryable.
Convert atom to wire format string.
Types
Functions
Parse wire format string to atom (case-insensitive).
Defaults to :unknown for unrecognized values.
Check if error category is retryable.
User errors are not retryable; server and unknown errors are.
Convert atom to wire format string.