MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / toString

Function toString

__tests__/fatal-handler.test.ts:48–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 it('never throws on a value with a hostile toString', () => {
47 const hostile = {
48 toString() {
49 throw new Error('no stringification for you');
50 },
51 };
52 expect(describeFatal(hostile)).toBe('<unstringifiable value>');
53 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected