Patterns · Site

TableFault

Approved

An error page told as a mishap at the table: the dice, the real error name in the eyebrow, what happened, and the way out. FAULTS lists them: 404 not found (cocked), 400 unknown game, 500 dice off the table.

Source
src/components/Errors/TableFault.jsx
Exports
TableFaultFAULTS
See it live
/404

Examples

fault="not-found"

404 · Page not found

That one landed cocked

Sorry, we couldn’t find /rulez. At the table a cocked die doesn’t count, so you re-roll it. Let’s do the same.

fault="unknown-game"

400 · Bad request

Nobody plays that game

You called “yahtzee”, a game that doesn’t exist. The Hammer can only call a game from the list.

fault="off-table"

500 · Something broke

Dice off the table

Something broke on our side and the dice went off the table. It isn’t you. Pick them up and roll again: reload the page.