@module-federation/error-codes
Advanced tools
Comparing version 0.0.0-next-20241216131539 to 0.0.0-next-20241218082038
@@ -11,2 +11,3 @@ 'use strict'; | ||
const TYPE_001 = 'TYPE-001'; | ||
const BUILD_001 = 'BUILD-001'; | ||
@@ -52,4 +53,8 @@ const getDocsUrl = (errorCode)=>{ | ||
}; | ||
const errorDescMap = _extends({}, runtimeDescMap, typeDescMap); | ||
const buildDescMap = { | ||
[BUILD_001]: 'Failed to find expose module.' | ||
}; | ||
const errorDescMap = _extends({}, runtimeDescMap, typeDescMap, buildDescMap); | ||
exports.BUILD_001 = BUILD_001; | ||
exports.RUNTIME_001 = RUNTIME_001; | ||
@@ -63,2 +68,3 @@ exports.RUNTIME_002 = RUNTIME_002; | ||
exports.TYPE_001 = TYPE_001; | ||
exports.buildDescMap = buildDescMap; | ||
exports.errorDescMap = errorDescMap; | ||
@@ -65,0 +71,0 @@ exports.getShortErrorMsg = getShortErrorMsg; |
@@ -13,3 +13,7 @@ export declare const runtimeDescMap: { | ||
}; | ||
export declare const buildDescMap: { | ||
"BUILD-001": string; | ||
}; | ||
export declare const errorDescMap: { | ||
"BUILD-001": string; | ||
"TYPE-001": string; | ||
@@ -16,0 +20,0 @@ "RUNTIME-001": string; |
@@ -9,1 +9,2 @@ export declare const RUNTIME_001 = "RUNTIME-001"; | ||
export declare const TYPE_001 = "TYPE-001"; | ||
export declare const BUILD_001 = "BUILD-001"; |
export * from './error-codes'; | ||
export { getShortErrorMsg } from './getShortErrorMsg'; | ||
export { runtimeDescMap, typeDescMap, errorDescMap } from './desc'; | ||
export { runtimeDescMap, typeDescMap, errorDescMap, buildDescMap, } from './desc'; |
@@ -7,3 +7,3 @@ { | ||
"sideEffects": false, | ||
"version": "0.0.0-next-20241216131539", | ||
"version": "0.0.0-next-20241218082038", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8055
157