Skip to content

Commit

Permalink
Add aborterror to add body-reading methods
Browse files Browse the repository at this point in the history
  • Loading branch information
wbamberg committed Jul 3, 2024
1 parent 5577273 commit 3f2517e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/en-us/web/api/response/blob/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ A promise that resolves with a {{domxref("Blob")}}.

### Exceptions

- {{domxref("DOMException")}} `AbortError`
- : The request was [aborted](/en-US/docs/Web/API/Fetch_API/Using_Fetch#canceling_a_request).
- {{jsxref("TypeError")}}
- : Thrown for one of the following reasons:
- The response body is [disturbed or locked](/en-US/docs/Web/API/Fetch_API/Using_Fetch#locked_and_disturbed_streams).
Expand Down
2 changes: 2 additions & 0 deletions files/en-us/web/api/response/bytes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ A promise that resolves with an {{jsxref("Uint8Array")}}.

### Exceptions

- {{domxref("DOMException")}} `AbortError`
- : The request was [aborted](/en-US/docs/Web/API/Fetch_API/Using_Fetch#canceling_a_request).
- {{jsxref("TypeError")}}
- : Thrown for one of the following reasons:
- The response body is [disturbed or locked](/en-US/docs/Web/API/Fetch_API/Using_Fetch#locked_and_disturbed_streams).
Expand Down
2 changes: 2 additions & 0 deletions files/en-us/web/api/response/formdata/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ A {{jsxref("Promise")}} that resolves with a {{domxref("FormData")}} object.

### Exceptions

- {{domxref("DOMException")}} `AbortError`
- : The request was [aborted](/en-US/docs/Web/API/Fetch_API/Using_Fetch#canceling_a_request).
- {{jsxref("TypeError")}}
- : Thrown for one of the following reasons:
- The response body is [disturbed or locked](/en-US/docs/Web/API/Fetch_API/Using_Fetch#locked_and_disturbed_streams).
Expand Down
2 changes: 2 additions & 0 deletions files/en-us/web/api/response/json/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ anything that can be represented by JSON — an object, an array, a string, a nu

### Exceptions

- {{domxref("DOMException")}} `AbortError`
- : The request was [aborted](/en-US/docs/Web/API/Fetch_API/Using_Fetch#canceling_a_request).
- {{jsxref("TypeError")}}
- : Thrown for one of the following reasons:
- The response body is [disturbed or locked](/en-US/docs/Web/API/Fetch_API/Using_Fetch#locked_and_disturbed_streams).
Expand Down
2 changes: 2 additions & 0 deletions files/en-us/web/api/response/text/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ A Promise that resolves with a {{jsxref("String")}}.

### Exceptions

- {{domxref("DOMException")}} `AbortError`
- : The request was [aborted](/en-US/docs/Web/API/Fetch_API/Using_Fetch#canceling_a_request).
- {{jsxref("TypeError")}}
- : Thrown for one of the following reasons:
- The response body is [disturbed or locked](/en-US/docs/Web/API/Fetch_API/Using_Fetch#locked_and_disturbed_streams).
Expand Down

0 comments on commit 3f2517e

Please sign in to comment.