LogoClawIndex
CasesSkillsAbout
LogoClawIndex

m06-error-handling - Error Handling

Provides guidelines and patterns for Rust error handling using Result, Option, panic, anyhow, and thiserror.

Tags

Updated: 2026-09-14

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Select error handling strategies
  • Distinguish panic from Result
  • Choose thiserror or anyhow
  • Propagate errors with question mark
  • Add context to errors

Inputs

  • Error handling context
  • Library or application code type
  • Failure scenario details

Outputs

  • Error handling strategy recommendations
  • Error crate selection advice

Requirements

    Source

    • Spec: SKILL.md

    ClawIndex

    OpenClaw Skills & Use Case Index

    ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

    Index

    Skills·
    Cases

    Meta

    About·
    Disclaimer·
    Email·
    GitHub
    © 2026 ClawIndex All Rights Reserved.
    rust
    error-handling
    result
    option
    anyhow
    thiserror
    Select error handling strategies
    Distinguish panic from Result
    Choose thiserror or anyhow
    Propagate errors with question mark
    Error handling context
    Library or application code type
    Failure scenario details
    Error handling strategy recommendations
    Error crate selection advice