You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

errorUtil.js 449B

12345678
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.errorUtil = void 0;
  4. var errorUtil;
  5. (function (errorUtil) {
  6. errorUtil.errToObj = (message) => typeof message === "string" ? { message } : message || {};
  7. errorUtil.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
  8. })(errorUtil = exports.errorUtil || (exports.errorUtil = {}));