The SDK provides specific error types to help you handle different scenarios.Documentation Index
Fetch the complete documentation index at: https://docs.learningcommons.org/llms.txt
Use this file to discover all available pages before exploring further.
example.ts
Errors
| Type | Description |
|---|---|
ConfigurationError | Missing or invalid API keys |
ValidationError | Invalid input (text too short, invalid grade, etc.) |
AuthenticationError | Invalid API keys |
RateLimitError | Rate limit exceeded; wait and retry |
NetworkError | Network connectivity issues |
TimeoutError | Request timed out |
APIError | Other API errors |