The error vocabulary, and every refusal in this library is one of these.
A caller should be able to branch on kind without parsing a message, which is why the Cloudflare
envelope's own error list is carried on ApiError rather than flattened into text.
The error vocabulary, and every refusal in this library is one of these.
A caller should be able to branch on
kindwithout parsing a message, which is why the Cloudflare envelope's own error list is carried on ApiError rather than flattened into text.