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

Method constructor

packages/server/src/error.ts:28–31  ·  view source on GitHub ↗
(status: number, message: string)

Source from the content-addressed store, hash-verified

26 return res.status(err.status).json({ message: err.message })
27 } else {
28 return res.status(500).json({ message: 'Internal Server Error' })
29 }
30}
31
32/**
33 * Releases the raw socket behind an upgrade request that no route took
34 * ownership of, and reports whether it did. Returns false for ordinary

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected