Claude Code Skills·Claude Skills·The open SKILL.md registry for Claude
ClaudSkills / General / general-misc

Vb6 Error Handling

Category: General  ·  Sub-category: general-misc  ·  Last updated:
Applies the CSEH (Code Style for Error Handler) pattern when adding or editing error handling in Visual Basic 6 procedures. Covers the structured On Error GoTo template with EhHeader/EhFooter regions, two CSEH styles (ErrRaise for utility functions that propagate to callers, and MsgBox for top-level UI procedures), line numbering (starting at 100, increments of 5) to enable Erl in error handlers, structured re-raise via Err.Raise with vbObjectError offset and qualified source string in App.Module.Procedure format, error message format including Err.Number, Err.Description and Erl, cleanup-before-raise discipline, and the legitimate use of On Error Resume Next strictly limited to cleanup and dispose routines. Activates whenever modifying VB6 procedures that have or need On Error handlers, the CSEH marker comment, numbered code lines, Err.Raise calls, or any discussion of error propagation, error logging, or fault tolerance in VB6.

From the source SKILL.md

VB6 has no try/catch. The model is On Error GoTo <label> with structured cleanup. The CSEH (Code Style for Error Handler) convention standardizes this pattern across the codebase so error paths are predictable, log output is consistent, and Erl (error line) is meaningful in production logs.

'CSEH: ErrRaise
Public Function GetActiveCustomer(...) As Object

What this skill does

Vb6 Error Handling is a community-contributed Claude Code skill in the general-misc sub-category. It ships as a SKILL.md file that Claude Code auto-discovers under ~/.claude/skills/vb6-error-handling/ and loads when your prompt matches the skill's trigger.

Who uses this skill

The Vb6 Error Handling Claude Code skill is built for Claude Code users and developers across all disciplines looking for general-purpose AI assistance. It's part of ClaudSkills (also referred to as Claude Skills or Claude Code Skills) — the open community-curated registry of 70,000+ SKILL.md files for Anthropic's Claude Code agent and the wider Claude ecosystem (Claude API, Claude Agent SDK).

How to install

Free

Manual install (2 steps)

mkdir -p ~/.claude/skills/vb6-error-handling
curl -L https://claudskills.com/skills/vb6-error-handling/SKILL.md \
  -o ~/.claude/skills/vb6-error-handling/SKILL.md

Or just download SKILL.md directly and drop it into ~/.claude/skills/vb6-error-handling/. Claude Code auto-discovers it on next session.

Skills live at ~/.claude/skills/vb6-error-handling/SKILL.md on macOS/Linux, or %USERPROFILE%\.claude\skills\vb6-error-handling\SKILL.md on Windows. See the full install guide for step-by-step instructions.

Pro

One-click install via the desktop app

The ClaudSkills desktop app installs any skill directly into ~/.claude/skills/ with one click — no terminal required. Pro starts at $9/mo or $149 lifetime.

Pro

For the full experience including quality scoring and one-click install features for each skill — upgrade to Pro.

Attribution & license

Cite this skill

If you reference this skill in a blog post, paper, or documentation, you can cite it as:

APA
alexcassol. (2026). Vb6 Error Handling [Claude Code skill]. ClaudSkills. https://claudskills.com/skills/vb6-error-handling/
BibTeX
@misc{vb6-error-handling-2026,
  author    = {alexcassol},
  title     = {Vb6 Error Handling [Claude Code skill]},
  year      = {2026},
  publisher = {ClaudSkills},
  url       = {https://claudskills.com/skills/vb6-error-handling/}
}

Embed this skill

Promote, attribute, or link this skill from your own README, blog post, or documentation. All three snippets are free to use — no sign-up, no API key. More distribution surfaces →

Badge
[![ClaudSkills](https://claudskills.com/badge/vb6-error-handling.svg)](https://claudskills.com/skills/vb6-error-handling/?utm_source=badge&utm_medium=readme&utm_campaign=skill_badge)
<script>
<script src="https://claudskills.com/embed/vb6-error-handling.js" async></script>
<iframe>
<iframe src="https://claudskills.com/embed/vb6-error-handling.html" width="100%" height="160" frameborder="0" loading="lazy" title="ClaudSkills: Vb6 Error Handling"></iframe>

Free. No spam. Unsubscribe in one click.

More General skills

Browse all General skills in the ClaudSkills registry, or explore these other picks from the same category:

Browse all General skills → Top 100 skills
Part of ClaudSkills — the open registry for Claude Skills & Claude Code Skills.  ·  What's New  ·  Install guide  ·  About  ·  llms.txt

Part of Acreator Store — Adam Lankamer's AI tools: PerfectStudio · Ucaption · UTagger · AutoXPoster · TestYourSkills · AutomationFlows · Au Naturel