# Marketing Developer: Error Codes Split

Split section listing six error families with codes, stable types, and fixes beside a mockup response body and a short list of guarantees.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/error-codes-split
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Developers](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/error-codes-split.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-developers-sections-error-codes-split
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: lucide-react
- Installs to: `@/components/blocks/marketing-pro/developers-sections/error-codes-split`

## About this block

Error Codes Split puts the whole error contract on one screen.
The left column is a ruled list of six error families, each row
pairing the status code, the stable machine readable type, and a
plain sentence naming what to do next. The right column mocks one
real response body, a 429 with its type, message, doc link,
request id, and retry hint, then lists three guarantees that make
the errors worth trusting.

An errors array and a responseLines array drive the block, and
everything stays text and theme tokens, so it renders the same in
light and dark with no dependencies.

## When to use

Reach for this block on developer and reference pages where
integrators are writing the code that has to survive failure. It
belongs after the happy path is established, the quickstart shows
the call working, this block shows what happens when it does not.

A natural flow around it on a Marketing Pro page:

**Before**

- [Quickstart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections) showing
  the request working before the failure cases

**After**

- [Rate limits](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections) where
  the 429 family gets its full policy
- [Trust](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/trust-and-security) for the
  logging and request id retention behind it

## What you can display

One strong use is your real error taxonomy with honest fixes.
Other lists:

- **Status codes.** Every response code with its meaning.
- **Validation errors.** Field level rules and their messages.
- **Webhook failures.** Why a delivery was dropped or retried.

> Tip: a stable type string the reader can switch on in code is
> worth more than a clever message, keep the types boring.

## More in Marketing Developers

- [Api Changelog Compact](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/api-changelog-compact)
- [Api Hero With Terminal](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/api-hero-with-terminal)
- [Cli Install Band](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/cli-install-band)
- [Dev Community Cards](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/dev-community-cards)
- [Docs Links Grid](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/docs-links-grid)
- [Quickstart Steps Code](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/quickstart-steps-code)
- [Rate Limits Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/rate-limits-table)
- [Sdk Language Grid](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/sdk-language-grid)
- [Status Uptime Panel](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/status-uptime-panel)
- [Test Mode Fixtures](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/test-mode-fixtures)
- [Webhook Events Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/developers-sections/webhook-events-table)
