MCPcopy Create free account
hub / github.com/Effect-TS/effect / isHttpServerError

Function isHttpServerError

packages/effect/src/unstable/http/HttpServerError.ts:184–184  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

182 * @since 4.0.0
183 */
184export const isHttpServerError = (u: unknown): u is HttpServerError => hasProperty(u, TypeId)
185
186/**
187 * Error describing a failure related to an HTTP response.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected