feat: introduce RateLimitException (#4199)

This commit is contained in:
Dag 2024-08-08 02:13:04 +02:00 committed by GitHub
parent 7073bb2f46
commit 9973f731df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 24 additions and 7 deletions

View file

@ -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;