MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / ensureException

Function ensureException

test/helpers/utils.js:10–12  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

8}
9
10function ensureException(error) {
11 assert(isException(error), error.toString());
12}
13
14async function timeDifference(timestamp1, timestamp2) {
15 var difference = timestamp1 - timestamp2;

Callers

nothing calls this directly

Calls 1

isExceptionFunction · 0.85

Tested by

no test coverage detected