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

Method constructor

packages/lib/src/client.ts:149–155  ·  view source on GitHub ↗
(
    public status: number,
    public data: unknown,
    public message: string,
  )

Source from the content-addressed store, hash-verified

147}
148
149export class PlcClientError extends Error {
150 constructor(
151 public status: number,
152 public data: unknown,
153 public message: string,
154 ) {
155 super(message)
156 }
157
158 static fromAxiosError(err: AxiosError) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected