> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endstate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ChipUrlError

> Thrown by `parseChipUrl` when the input is not a chip URL.

Thrown by `parseChipUrl` when the input is not a chip URL.

```ts theme={null}
import { ChipUrlError } from "@endstate-sdk/reader";
```

```ts theme={null}
class ChipUrlError extends Error
```

## Example

```ts theme={null}
try {
  parseChipUrl(url);
} catch (error) {
  if (error instanceof ChipUrlError) showNotAnEndstateTag();
}
```
