---
title: "ErrorState"
description: "With the financial reassurance sentence."
canonical: "https://lopifi.com/components/error-state"
---

# ErrorState

> With the financial reassurance sentence.

Source: https://lopifi.com/components/error-state
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Family:** System & states — ---
- **Status:** Implemented
- **Spec:** https://lopifi.com/docs/catalog/system-states

## Install

```bash
npx shadcn@latest add @lopifi/theme
npx shadcn@latest add @lopifi/error-state
```

## Specification

```
Couldn't load transactions. ⓘ        ← the technical account, one press away
No transactions were affected.       ← the financial reassurance
[Try again]  [Contact support]
```

**The reassurance is the most important line, and the only prose that stays on screen.** In a financial product, an error makes people worry about their money. Saying plainly that nothing happened to it is worth more than the retry button or a paragraph about the outage.

The `detail` (which endpoint, which timeout, which missing rate) belongs to whoever asks for it, so it rides an `InfoTip` on the title instead of a third paragraph. It's an `InfoTip`, not a `Tooltip`, because it opens on press and works on touch.

Variants: network · permission · not-found · server · stale-data. Each says what happened, what it means for the user's money, and what to do next.

## Rules this component obeys

Money is minor units, never floats. `null` is not `0` and neither is redacted. Negatives render in accounting parentheses with the parenthesis column reserved on both sides. Debit and credit are two columns. Per-currency decimal places. Polarity is explicit — up is not always good. Every figure states its period, entity, currency, basis and as-of.
