mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-09-01 08:15:57 +02:00
feat: introduce RateLimitException (#4199)
This commit is contained in:
parent
7073bb2f46
commit
9973f731df
6 changed files with 24 additions and 7 deletions
10
lib/http.php
10
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue