Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Living wiki of UI design patterns and best practices built with Fumadocs, Next.js, and Base UI components.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
rules/appropriate-errors-warnings.md
1---2title: Sound for Errors and Warnings3impact: MEDIUM4tags: appropriate, error, warning5---67## Sound for Errors and Warnings89Sound is appropriate for errors and warnings that can't be overlooked.1011**Correct:**1213```tsx14function handleError(error: Error) {15playSound("error");16showErrorToast(error.message);17}18```19