summaryrefslogtreecommitdiff
path: root/cli/js/errors.ts
diff options
context:
space:
mode:
authorNick Stott <nick@nickstott.com>2019-10-28 12:41:36 -0400
committerRy Dahl <ry@tinyclouds.org>2019-10-28 12:41:36 -0400
commit65d9286203cf239f68c6015818e82e8521e600a1 (patch)
tree0af1a7be449036f2f4ae9d3ecf06b7d645c8bddc /cli/js/errors.ts
parent967c236fa5fb1e87e1b5ee788fe77d3a07361da1 (diff)
Re-enable basic stream support for fetch bodies (#3192)
* Add sd-streams from https://github.com/stardazed/sd-streams/blob/master/packages/streams/src/ * change the interfaces in dom_types to match what sd-streams expects
Diffstat (limited to 'cli/js/errors.ts')
-rw-r--r--cli/js/errors.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/js/errors.ts b/cli/js/errors.ts
index 8cd7a76be..286a004e4 100644
--- a/cli/js/errors.ts
+++ b/cli/js/errors.ts
@@ -76,5 +76,8 @@ export enum ErrorKind {
TooManyRedirects = 48,
Diagnostic = 49,
JSError = 50,
- TypeError = 51
+ TypeError = 51,
+
+ /** TODO this is a DomException type, and should be moved out of here when possible */
+ DataCloneError = 52
}