Documentation Index
Fetch the complete documentation index at: https://core.anylayer.org/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Proper error handling is critical for building robust applications with ZKScore. This guide covers common errors, handling strategies, and recovery patterns.Common Errors
API Errors
Error Types
| Code | Description | Action |
|---|---|---|
IDENTITY_NOT_FOUND | Identity doesn’t exist | Check ZKS ID |
RATE_LIMIT_EXCEEDED | Too many requests | Implement backoff |
INVALID_API_KEY | API key invalid | Check credentials |
NETWORK_ERROR | Network failure | Retry request |
Best Practices
- Specific Handling: Handle each error type specifically
- User Feedback: Provide clear error messages
- Retry Logic: Implement exponential backoff
- Logging: Log errors for monitoring
- Graceful Degradation: Continue with limited functionality