MCPcopy Create free account
hub / github.com/Web3Auth/Auth / jrpcErrors.test.ts

File jrpcErrors.test.ts

test/jrpcErrors.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from "vitest";
2
3import { errorCodes, getMessageFromCode, isPlainObject, JSON_RPC_SERVER_ERROR_MESSAGE, providerErrors, rpcErrors } from "../src/jrpc/errors";
4import { SerializableError } from "../src/jrpc/serializableError";

Callers

nothing calls this directly

Calls 4

getMessageFromCodeFunction · 0.90
isPlainObjectFunction · 0.90
toStringMethod · 0.65
serializeMethod · 0.45

Tested by

no test coverage detected