error boundaries .cursorrules prompt files

Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, providing a way to display fallback UI and preventing crashes of the entire app.