mili
Version:
Scaffolding with continuous control over the development of the project.
10 lines (9 loc) • 337 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.prettyError = exports.pe = void 0;
const PrettyError = require("pretty-error");
exports.pe = new PrettyError();
function prettyError(e) {
return exports.pe.render(e instanceof Error ? e : new Error(String(e)));
}
exports.prettyError = prettyError;