UNPKG

@elsikora/nestjs-crud-automator

Version:

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

14 lines (11 loc) 361 B
'use strict'; /** * 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=error-exception.utility.js.map