Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions content/libraries/php.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,13 @@ if($api->connected)
if($isVoted) echo "This user voted!";
}
```

## Error Handling

This library uses extensions of the PHP `BaseException()` throwable class.
The list below are the current exceptions able to be given.

* `GlobalRatelimitException`
* `ResourceRatelimitException`
* `MissingStatsException`
* `MissingTokenException`