@chevre/domain 22.9.0-alpha.42 → 22.9.0-alpha.43
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.
|
@@ -3,5 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GMOErrorInfo = void 0;
|
|
4
4
|
var GMOErrorInfo;
|
|
5
5
|
(function (GMOErrorInfo) {
|
|
6
|
+
/**
|
|
7
|
+
* 指定されたIDとパスワードの取引が存在しません。
|
|
8
|
+
*/
|
|
6
9
|
GMOErrorInfo["TransactionNotFound"] = "E01110002";
|
|
10
|
+
/**
|
|
11
|
+
* 指定した処理区分の処理は実行出来ません。
|
|
12
|
+
*/
|
|
13
|
+
GMOErrorInfo["JobCodeNotAcceptable"] = "E01050004";
|
|
7
14
|
})(GMOErrorInfo || (exports.GMOErrorInfo = GMOErrorInfo = {}));
|
|
@@ -218,8 +218,12 @@ function processAlterTran(params) {
|
|
|
218
218
|
let throwsError = true;
|
|
219
219
|
// 未決済(3D 登録済)->取消をトライするとE01050004エラーとなるが、この場合何もする必要はない(2024-01-09~)
|
|
220
220
|
if (error.name === 'GMOServiceBadRequestError') {
|
|
221
|
-
if (Array.isArray(error.errors) && error.errors.length === 1
|
|
222
|
-
|
|
221
|
+
if (Array.isArray(error.errors) && error.errors.length === 1
|
|
222
|
+
&& error.errors[0].info === gmoError_1.GMOErrorInfo.JobCodeNotAcceptable) {
|
|
223
|
+
if (status === GMO.utils.util.Status.Authenticated
|
|
224
|
+
|| status === GMO.utils.util.Status.Void
|
|
225
|
+
|| status === GMO.utils.util.Status.Unprocessed // handle UNPROCESSED(2025-02-26~)
|
|
226
|
+
) {
|
|
223
227
|
caughtAlterTranError = error;
|
|
224
228
|
throwsError = false;
|
|
225
229
|
}
|
package/package.json
CHANGED