- static handleFileException(logPrefix: string, fileType: string, filePath: string, error: NodeJS.ErrnoException, consoleOut = false): void {
- const prefix = logPrefix.length !== 0 ? logPrefix + ' ' : '';
+ static handleFileException(
+ logPrefix: string,
+ fileType: string,
+ filePath: string,
+ error: NodeJS.ErrnoException,
+ params: HandleErrorParams<EmptyObject> = { throwError: true, consoleOut: false }
+ ): void {
+ const prefix = !Utils.isEmptyString(logPrefix) ? logPrefix + ' ' : '';