UNPKG

assertthat

Version:
9 lines (8 loc) 384 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.prettyPrintErrorDiff = void 0; const prettyPrintDiff_1 = require("../typeAware/prettyPrintDiff"); const prettyPrintErrorDiff = function (diff, depth = 0) { return `Error(${(0, prettyPrintDiff_1.prettyPrintDiff)(diff.objectDiff, depth)})`; }; exports.prettyPrintErrorDiff = prettyPrintErrorDiff;