99designs / 99designs/http-signatures-php

Exception type heirarchy

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
46
Fork
35
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, many error conditions are thrown as `Exception`.
Instead they should be made more specific, all inheriting from a central library-specific base exception.
See https://github.com/99designs/http-signatures-ruby for reference.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Review the linked Ruby library for its exception hierarchy. Examine the codebase for where `Exception` is thrown, likely in classes like `Signer` or `Verifier`. Create a base exception class (e.g., `HttpSignaturesException`) and specific subclasses for different error conditions. Update throw statements and ensure existing tests still pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
php
Ambito
backend-api-design
Tipo di issue
Refactoring
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.