Skip to content

Commit ee996c1

Browse files
Merge pull request #719 from fibonacci1729/too-many-requests
Add HTTP TooManyRequests error
2 parents 139c409 + 084fd10 commit ee996c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sdk/rust/macro/wit/spin-http.wit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ enum http-error {
5858
invalid-url,
5959
request-error,
6060
runtime-error,
61+
too-many-requests,
6162
}

wit/ephemeral/http-types.wit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ enum http-error {
5555
invalid-url,
5656
request-error,
5757
runtime-error,
58+
too-many-requests,
5859
}

0 commit comments

Comments
 (0)