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

Function isHttpServerError

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

Source from the content-addressed store, hash-verified

194 * @since 4.0.0
195 */
196export const isHttpServerError = (u: unknown): u is HttpServerError => hasProperty(u, TypeId)
197
198/**
199 * Error describing a failure related to an HTTP response.

Callers 1

Calls 1

hasPropertyFunction · 0.90

Tested by

no test coverage detected