fossi-foundation/ciel

Introduce ciel-specific Python exceptions

Ouverte

#131 ouverte le 15 juin 2026

 (2 commentaires) (0 réaction) (0 personne assignée)Python (11 forks)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (56 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Description

Ciel currently raises normal ValueErrors, RuntimeErrors, etc. This is theoretically fine. but practically that means we have to capture all exceptions for purposes of presenting them to the users, which can include exceptions in other libraries and/or the Python standard library, and not show a traceback. This is a pretty poor user/developer experience.

Proposal

New exception classes should inherit from ValueErrors/RuntimeErrors to match the declared APIs, but ciel should raise exclusively these classes.

Guide contributeur