MCPcopy Create free account
hub / github.com/UnsignedInt8/LightSword / AssertionError

Class AssertionError

typings/node/node.d.ts:1804–1814  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1802 function internal (value: any, message?: string): void;
1803 module internal {
1804 export class AssertionError implements Error {
1805 name: string;
1806 message: string;
1807 actual: any;
1808 expected: any;
1809 operator: string;
1810 generatedMessage: boolean;
1811
1812 constructor(options?: {message?: string; actual?: any; expected?: any;
1813 operator?: string; stackStartFunction?: Function});
1814 }
1815
1816 export function fail(actual?: any, expected?: any, message?: string, operator?: string): void;
1817 export function ok(value: any, message?: string): void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected