UNPKG

bugsnag-source-maps-fork

Version:

CLI and JS library for uploading source maps to Bugsnag

19 lines 654 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function stringifyFileAccessError(e) { switch (e.code) { case 'ENOENT': return `No file exists at the provided path.`; break; case 'EISDIR': return `The path contained a directory, not a file.`; break; case 'EACCES': return `This process did not have sufficient permissions to read the file.`; break; default: return `Tried at the following location.`; } } exports.default = stringifyFileAccessError; //# sourceMappingURL=StringifyFileAccessError.js.map