MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isHttpResponseError

Function isHttpResponseError

apps/cloud/src/api/error-response.ts:39–40  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

37};
38
39const isHttpResponseError = (error: unknown): error is HttpResponseError =>
40 Predicate.isTagged(error, "HttpResponseError");
41
42const toHttpResponseError = (error: unknown): HttpResponseError => {
43 const unwrapped = unwrapCause(error);

Callers 1

toHttpResponseErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected