> ## 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.

# SDK Error Handling

> Error handling patterns for ZKScore SDKs

## Overview

Comprehensive error handling patterns for robust SDK integration.

## Implementation

<CodeGroup>
  ```javascript JavaScript theme={null}
  try {
    const score = await client.getScore(identity);
  } catch (error) {
    if (error.code === 'IDENTITY_NOT_FOUND') {
      console.error('Identity not found');
    } else if (error.code === 'NETWORK_ERROR') {
      console.error('Network error, retrying...');
      // Retry logic
    } else {
      console.error('Unexpected error:', error);
    }
  }
  ```
</CodeGroup>

## Related Documentation

* [Error Handling Guide](/guides/error-handling)
* [Error Codes Reference](/reference/error-codes)
