Title: feat: create typed error hierarchy for both SDKs
Labels: enhancement sdk
Complexity: trivial
Description:
Define error types that SDK clients can catch specifically:
try:
events = client.get_events(contract_id)
except RateLimitError as e:
# Handle rate limit
print(f"Rate limit: {e.retry_after}s")
except ValidationError as e:
# Handle validation
print(f"Invalid: {e.field}")
except AuthenticationError as e:
# Handle auth
pass
Acceptance Criteria:
Title:
feat: create typed error hierarchy for both SDKsLabels:
enhancementsdkComplexity:
trivialDescription:
Define error types that SDK clients can catch specifically:
Acceptance Criteria: