99designs / 99designs/http-signatures-php

Exception type heirarchy

未关闭
#7 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
46
派生
35
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
backend-api-design
Issue 类型
重构
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。