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

Method constructor

packages/lib/src/error.ts:3–5  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

1export class PlcError extends Error {
2 plcError = true
3 constructor(msg: string) {
4 super(msg)
5 }
6
7 static is(obj: unknown): obj is PlcError {
8 if (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected