Skip to content

ClaudeApiErrorEntry

Base classes

Name Children Inherits
ClaudeSystemEntryBase
clawd_code_sdk.storage.models
Common fields shared across all system entry subtypes.

⋔ Inheritance diagram

graph TD
  1118320266["models.ClaudeApiErrorEntry"]
  948888654["models.ClaudeSystemEntryBase"]
  3306911705["models.ClaudeEntryBase"]
  746985124["models.ClaudeStorageModel"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  948888654 --> 1118320266
  3306911705 --> 948888654
  746985124 --> 3306911705
  2604142835 --> 746985124
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeSystemEntryBase

System entry for API errors with retry information.

Source code in src/clawd_code_sdk/storage/models.py
class ClaudeApiErrorEntry(ClaudeSystemEntryBase):
    """System entry for API errors with retry information."""

    subtype: Literal["api_error"]
    level: str | None = None
    error: dict[str, Any] | None = None
    retry_in_ms: float | None = None
    retry_attempt: int | None = None
    max_retries: int | None = None

:fa-brands-github: Show source on GitHub