MCPcopy Create free account
hub / github.com/comuline/api / getDefaultDescription

Function getDefaultDescription

src/utils/response.ts:83–90  ·  view source on GitHub ↗
(status: StatusCode)

Source from the content-addressed store, hash-verified

81}
82
83const getDefaultDescription = (status: StatusCode) => {
84 switch (status) {
85 case 404:
86 return "Not found"
87 default:
88 return "Internal server error"
89 }
90}

Callers 1

buildResponseSchemasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected