MCPcopy Create free account
hub / github.com/nifty-oss/asset / getErrorFromCode

Function getErrorFromCode

clients/js/proxy/src/generated/programs/proxy.ts:24–26  ·  view source on GitHub ↗
(code: number, cause?: Error)

Source from the content-addressed store, hash-verified

22 name: 'proxy',
23 publicKey: PROXY_PROGRAM_ID,
24 getErrorFromCode(code: number, cause?: Error) {
25 return getProxyErrorFromCode(code, this, cause);
26 },
27 getErrorFromName(name: string, cause?: Error) {
28 return getProxyErrorFromName(name, this, cause);
29 },

Callers

nothing calls this directly

Calls 1

getProxyErrorFromCodeFunction · 0.90

Tested by

no test coverage detected