aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/http.php10
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;