diff options
author | 2024-08-08 02:13:04 +0200 | |
---|---|---|
committer | 2024-08-08 02:13:04 +0200 | |
commit | 9973f731dfb0b34ae4c1d3d86143eee346ff5641 (patch) | |
tree | 8675a5c402c44c101f95e5b1a02479d14aa7517f /lib | |
parent | 7073bb2f4674578b396d13b926ce585c9638a305 (diff) | |
download | rss-bridge-9973f731dfb0b34ae4c1d3d86143eee346ff5641.tar.gz rss-bridge-9973f731dfb0b34ae4c1d3d86143eee346ff5641.tar.zst rss-bridge-9973f731dfb0b34ae4c1d3d86143eee346ff5641.zip |
feat: introduce RateLimitException (#4199)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/http.php b/lib/http.php index 39f0c727..0d21b958 100644 --- a/lib/http.php +++ b/lib/http.php @@ -1,5 +1,15 @@ <?php +/** + * Thrown by bridges + */ +final class RateLimitException extends \Exception +{ +} + +/** + * @internal Do not use this class in bridges + */ class HttpException extends \Exception { public ?Response $response; |