Receber por email
← Voltar para o catálogo

error-handling-skill

Provides standardized error handling across the application with consistent formatting, logging, and user-friendly messages. Handles an exception by formatting the error message, logging it with context, and returning a…

0estrelas
Atualizado há 10 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add Osama-Raza/todo-cli-phase-1

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/error-handling-skill-osama-raza/svg)](https://www.skillteca.com.br/skills/error-handling-skill-osama-raza)

Skills relacionadas

Ver todas de Outros →

Alerta por categoria

Receba novas skills de Outros toda segunda

1 email curto, só com as skills novas de Outros. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Error Handling Skill

Purpose

Provides standardized error handling across the application with consistent formatting, logging, and user-friendly messages.

Functions

1. handle_error(error: Exception, context: str) -> str

Handles an exception by formatting the error message, logging it with context, and returning a user-friendly message.

Parameters:

  • error (Exception): The exception or error object to handle
  • context (str): Context information about where/why the error oc

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn