MCPcopy Create free account
hub / github.com/did-method-plc/did-method-plc /

Class

packages/server/src/error.ts:26–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25 if (ServerError.is(err)) {
26 return res.status(err.status).json({ message: err.message })
27 } else {
28 return res.status(500).json({ message: 'Internal Server Error' })
29 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected