UNPKG

@almaclaine/fs-utils

Version:
6 lines 516 B
export const doesNotExistError = (path) => `Provided path ${path} does not exist: ${path}.`; export const alreadyExistsError = (path) => `Provided file/directory already exists: ${path}.`; export const isNotDirectoryError = (path) => `Provided path ${path} is not a directory.`; export const isDirectoryError = (path) => `Provided path ${path} is a directory.`; export const isNotJsonFilError = (path) => `Provided path ${path} is not a json file. Extension must be .json`; //# sourceMappingURL=errorTemplates.js.map