forked from twilight-rs/twilight
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(http): Add Discord defined status codes as constants (twilight-r…
…s#2389) This is to facilitate matching on specific status codes such as if let ErrorType::Response { status: StatusCode::NOT_FOUND, .. } = err.kind() { --------- Co-authored-by: Gautam Abhyankar <gautam.abhyankar@gmail.com>
- Loading branch information
1 parent
f7a6c3e
commit e8634ce
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters