@elsikora/nestjs-crud-automator
Version:
A library for automating the creation of CRUD operations in NestJS.
14 lines (11 loc) • 355 B
JavaScript
;
/**
* Creates a formatted error with the library prefix
* @param {string} message - The error message
* @returns {Error} The formatted error object
*/
function ErrorException(message) {
return new Error(`[NestJS-Crud-Automator] ${message}`);
}
exports.ErrorException = ErrorException;
//# sourceMappingURL=exception.utility.js.map