# Cursor Errors

> CursorAgentError class hierarchy, isRetryable, and recovery patterns. Use when classifying SDK failures, building retry logic, or surfacing actionable messages.

- **Type:** Skill
- **Install:** `agentstack add skill-hktitan-cursor-sdk-cursor-errors`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [HKTITAN](https://agentstack.voostack.com/s/hktitan)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [HKTITAN](https://github.com/HKTITAN)
- **Source:** https://github.com/HKTITAN/cursor-sdk/tree/main/skills/cursor-errors
- **Website:** https://skills.sh/hktitan/cursor-sdk

## Install

```sh
agentstack add skill-hktitan-cursor-sdk-cursor-errors
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# cursor-errors

Every SDK throw is a `CursorAgentError` (or subclass). The `isRetryable` flag is your routing decision: retry transient errors, surface terminal ones.

## Base class

- [[references/cursor-agent-error]] — `isRetryable`, `code`, `cause`, `protoErrorCode`

## Subclasses

- [[references/auth-error]] — `AuthenticationError`
- [[references/rate-limit]] — `RateLimitError`
- [[references/configuration]] — `ConfigurationError`
- [[references/integration-not-connected]] — `IntegrationNotConnectedError`
- [[references/network]] — `NetworkError`
- [[references/unknown-agent]] — `UnknownAgentError`
- [[references/unsupported-op]] — `UnsupportedRunOperationError`

## Patterns

- [[references/retry-pattern]] — backoff using `isRetryable`
- [[references/schema-stability]] — defensive parsing of tool call args/result

## Cross-links

- Run status terminal-error vs throw — [[../cursor-runs/references/wait]]
- Operation gating — [[../cursor-runs/references/operation-support]]

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [HKTITAN](https://github.com/HKTITAN)
- **Source:** [HKTITAN/cursor-sdk](https://github.com/HKTITAN/cursor-sdk)
- **License:** MIT
- **Homepage:** https://skills.sh/hktitan/cursor-sdk

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hktitan-cursor-sdk-cursor-errors
- Seller: https://agentstack.voostack.com/s/hktitan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
