Skip to content

Commit 084fd10

Browse files
committed
Add HTTP TooManyRequests error
Signed-off-by: Brian H <brian.hardock@fermyon.com>
1 parent 1620b09 commit 084fd10

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)