src/core/errors/exceptions/config-file-path-not-found-error.js
/**
* @fileoverview ConfigFilePathNotFound Exception
*
*/
'use strict';
const ConfigFileNotFoundError = require('./config-file-not-found-error');
const messages = require('../messages/messages-enum');
/**
* Adviser Configuration Filepath Not Found Exception
*
* @class ConfigFilePathNotFoundError
* @extends {ConfigFileNotFoundError}
*/
class ConfigFilePathNotFoundError extends ConfigFileNotFoundError {
constructor(path = null) {
super(null, path);
this.name = this.constructor.name;
Error.captureStackTrace(this, ConfigFilePathNotFoundError);
this.messageTemplate = messages.configFilePathNotFound;
}
}
module.exports = ConfigFilePathNotFoundError;