@alipay/ams-checkout 0.0.1757298389-dev.21 → 0.0.1757298389-dev.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -626,8 +626,11 @@ var ElementController = /*#__PURE__*/function () {
|
|
|
626
626
|
errorMessage = _response$originActio.errorMessage;
|
|
627
627
|
var error = {
|
|
628
628
|
code: errorCode,
|
|
629
|
-
message: errorMessage
|
|
629
|
+
message: errorMessage || ERRORMESSAGE.ERR_DATA_STRUCT_UNRECOGNIZED.message
|
|
630
630
|
};
|
|
631
|
+
if (!errorCode) {
|
|
632
|
+
error = _objectSpread({}, ERRORMESSAGE.ERR_DATA_STRUCT_UNRECOGNIZED);
|
|
633
|
+
}
|
|
631
634
|
if (PROMISE_CALLBACK_CODE[errorCode]) {
|
|
632
635
|
var _PROMISE_CALLBACK_COD;
|
|
633
636
|
error = {
|