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

Function getStatusError

packages/effect/src/unstable/httpapi/HttpApiSchema.ts:993–995  ·  view source on GitHub ↗
(self: SchemaAST.AST)

Source from the content-addressed store, hash-verified

991
992/** @internal */
993export function getStatusError(self: SchemaAST.AST): number {
994 return resolveHttpApiStatus(self) ?? 500
995}
996
997/** @internal */
998export function getStatusErrorSchema(schema: Schema.Constraint): number {

Callers 1

getStatusErrorSchemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected