feat(sdk): add HttpApi clients and embedded host (#33445)

This commit is contained in:
Kit Langton
2026-06-25 05:08:54 +02:00
committed by GitHub
parent c45d1db9a0
commit cdd67cf30f
59 changed files with 4629 additions and 316 deletions
@@ -0,0 +1,11 @@
export type ClientErrorReason = "Transport" | "UnexpectedStatus" | "UnsupportedContentType" | "MalformedResponse"
export class ClientError extends Error {
override readonly name = "ClientError"
constructor(
readonly reason: ClientErrorReason,
options?: ErrorOptions,
) {
super(reason, options)
}
}