UNPKG

@elsikora/nestjs-crud-automator

Version:

A library for automating the creation of CRUD operations in NestJS.

12 lines (10 loc) 332 B
/** * 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}`); } export { ErrorException }; //# sourceMappingURL=error-exception.utility.js.map