Lines Matching refs:base
429 // The SystemErrors only have SystemError as their base classes.
1325 E('ERR_INVALID_MODULE_SPECIFIER', (request, reason, base = undefined) => {
1326 return `Invalid module "${request}" ${reason}${base ?
1327 ` imported from ${base}` : ''}`;
1329 E('ERR_INVALID_PACKAGE_CONFIG', (path, base, message) => {
1330 return `Invalid package config ${path}${base ? ` while importing ${base}` :
1334 (pkgPath, key, target, isImport = false, base = undefined) => {
1340 `in the package config ${pkgPath}package.json${base ?
1341 ` imported from ${base}` : ''}${relError ?
1346 pkgPath}package.json${base ? ` imported from ${base}` : ''}${relError ?
1461 E('ERR_MODULE_NOT_FOUND', function(path, base, exactUrl) {
1466 exactUrl ? 'module' : 'package'} '${path}' imported from ${base}`;
1509 E('ERR_PACKAGE_IMPORT_NOT_DEFINED', (specifier, packagePath, base) => {
1511 ` in package ${packagePath}package.json` : ''} imported from ${base}`;
1513 E('ERR_PACKAGE_PATH_NOT_EXPORTED', (pkgPath, subpath, base = undefined) => {
1515 return `No "exports" main defined in ${pkgPath}package.json${base ?
1516 ` imported from ${base}` : ''}`;
1518 pkgPath}package.json${base ? ` imported from ${base}` : ''}`;
1698 E('ERR_UNSUPPORTED_DIR_IMPORT', function(path, base, exactUrl) {
1701 `resolving ES modules imported from ${base}`;