Bun Error Handling
Learn how to handle errors in Bun's development server
Install
npx skills add jarle/bun-skills --skill Bun Error Handlinggit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-http-error-handling ~/.claude/skills/Bun-Error-HandlingPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Error Handling
> Learn how to handle errors in Bun's development server
To activate development mode, set `development: true`.
```ts title="server.ts" icon="https://mintcdn.com/bun-1dd33a4e/nIz6GtMH5K-dfXeV/icons/typescript.svg?fit=max&auto=format&n=nIz6GtMH5K-dfXeV&q=85&s=5d73d76daf7eb7b158469d8c30d349b0" theme={"theme":{"light":"github-light","dark":"dracula"}}
Bun.serve({
development: true, // [!code ++]
fetch(req) {
throw new Error("woops!");
},
});
```
In development mode, Bun will surface errors in-browser with a built-in error page.
<Frame><img src="https://mintcdn.com/bun-1dd33a4e/PY1574V41bdK8wNs/images/exception_page.png?fit=max&auto=format&n=PY1574V41bdK8wNs&q=85&s=26f9bec162e97288f1f0d736773b2b6e" alt="Bun's built-in 500 page" data-og-width="800" width="800" data-og-height="579" height="579" data-path="images/exception_page.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/bun-1dd33a4e/PY1574V41bdK8wNs/images/exception_page.png?w=280&fit=max&auto=format&n=PY1574V41bdK8wNs&q=85&s=77f5e65f2bd86c0c9f8aa548169764f6 280w, https://mintcdn.com/bun-1dd33a4e/PY1574V41bdK8wNs/images/exception_page.png?w=560&fit=max&auto=format&n=PY1574V41bdK8wNs&q=85&s=87988ad4288c5a0a06214ef0d7687f87 560w, https://mintcdn.com/bun-1dd33a4e/PY1574V41bdK8wNs/images/exception_page.png?w=840&fit=max&auto=format&n=PY1574V41bdK8wNs&q=85&s=5c605029819509b6e1dbba7ff684ef4f 840w, https://mintcdn.com/bun-1dd33a4e/PY1574V41bdK8wNs/images/exception_page.png?w=1100&fit=Details
- Skill name
Bun Error Handling- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-http-error-handling/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Error Handling skill do?
Learn how to handle errors in Bun's development server
How do I install the Bun Error Handling skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Error Handling. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Error Handling popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Get School Rating
9Lord1Egypt/RA-Skills
Given a school name + city/state, a Realtor.com school detail URL, or a property address, return the school's GreatSchools rating, parent-reviews summary, grades served, enrollment, student-teacher ratio, district, address, NCES code, and canonical URL. For property addresses,…
Public Face Review Builder
5getclera/claude-skills
Turn a supplied people/contact list with names, profile-picture URLs, roles, LinkedIn URLs, and optional owner fields into a mobile-friendly face-memorization web app with grid, quiz, flashcard, shuffle, and filtering modes, then publish it to a shareable public URL when an approved writable hosting destination is available. Use when the user wants to memorize attendees, founders, candidates, customers, investors, or other people before an event or meeting.
Search Jobs
9Lord1Egypt/RA-Skills
Search Indeed for job postings across the full filter surface (keyword, location, radius, date posted, salary, job type, experience level, remote/hybrid, company, education, posted-by, encouraged-to-apply, sort, pagination) and return structured JSON. Supports SERP URLs, free-…
Browse the most popular Claude skills, all learning & education skills, or write your own with the skills generator.