99designs / 99designs/http-signatures-php
Exception type heirarchy
- Ngôn ngữ chính
- PHP
- Star
- 46
- Fork
- 35
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- php
- Lĩnh vực
- backend-api-design
- Loại issue
- Tái cấu trúc
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100