Closed jugglinmike closed 1 year ago
The type of "success" and "error" values is also under-specified. I think it can only be inferred to be "a thing with a field." While formally classifying it (perhaps as an Infra "map" value) might be more complete in some theoretical sense, I'm not sure the current ambiguity could cause confusion.
This specification relies on the term "response" as defined by the Fetch standard. The "error" type which is returned by fallible algorithms does not qualify as such a response. This makes the use of the phrase "error response" to define the "error" type somewhat confusing.
Replace "error response" with the more generic "error value" to avoid insinuating a non-existent relationship.
Preview | Diff