Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function isApiError(error: unknown): error is APIError;
error
unknown
error is APIError
try { ... } catch (error) { if (isApiError(error)) { // Handle API error console.log(error.errorMessage); } }
Was this page helpful?