cangjie-error-handle

Community

Master Cangjie's error handling.

AuthorSunriseSummer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers understand and implement robust error handling mechanisms within the Cangjie programming language, preventing unexpected crashes and improving application stability.

Core Features & Use Cases

  • Exception Hierarchy: Learn about Error vs. Exception and how to define custom exceptions.
  • Error Handling Constructs: Master throw, try/catch/finally, and try-with-resources for managing runtime issues.
  • Option Type: Utilize Option<T> (?T) with pattern matching, ??, ?, and getOrThrow() for safer value handling.
  • Use Case: Debugging a complex application that frequently throws exceptions, and needing to implement precise error handling to gracefully manage different failure scenarios.

Quick Start

Use the cangjie-error-handle skill to demonstrate how to catch a NegativeArraySizeException using a try-catch block.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cangjie-error-handle
Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-error-handle

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.