assertthat
Version:
assertthat provides fluent TDD.
13 lines (12 loc) • 460 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.errorSize = void 0;
const LessShittyError_1 = require("../../types/LessShittyError");
const objectSize_1 = require("../forObjects/objectSize");
const errorSize = function (value) {
const lessShittyError = (0, LessShittyError_1.makeErrorLessShitty)({
error: value
});
return (0, objectSize_1.objectSize)(lessShittyError);
};
exports.errorSize = errorSize;