MCPcopy Index your code
hub / github.com/MetaMask/rpc-errors / toString

Method toString

src/classes.ts:92–94  ·  view source on GitHub ↗

* Get a string representation of the serialized error, omitting any circular * references. * * @returns A string representation of the serialized error.

()

Source from the content-addressed store, hash-verified

90 * @returns A string representation of the serialized error.
91 */
92 toString(): string {
93 return safeStringify(this.serialize(), stringifyReplacer, 2);
94 }
95}
96
97/**

Callers 1

getMessageFromCodeFunction · 0.80

Calls 1

serializeMethod · 0.95

Tested by

no test coverage detected