update lại thư mục cấu trúc mới của server nodejs và python

This commit is contained in:
Victor Phan
2026-07-21 09:13:52 +07:00
parent 7625bdd37b
commit 58b1dcd170
1555 changed files with 0 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
'use strict';
class ZaloApiError extends Error {
constructor(message, code) {
super(message);
this.name = "ZcaApiError";
this.code = code || null;
}
}
exports.ZaloApiError = ZaloApiError;
@@ -0,0 +1,12 @@
'use strict';
var ZaloApiError = require('./ZaloApiError.cjs');
class ZaloApiLoginQRAborted extends ZaloApiError.ZaloApiError {
constructor(message = "Operation aborted") {
super(message);
this.name = "ZaloApiLoginQRAborted";
}
}
exports.ZaloApiLoginQRAborted = ZaloApiLoginQRAborted;
@@ -0,0 +1,12 @@
'use strict';
var ZaloApiError = require('./ZaloApiError.cjs');
class ZaloApiLoginQRDeclined extends ZaloApiError.ZaloApiError {
constructor(message = "Login QR request declined") {
super(message);
this.name = "ZaloApiLoginQRDeclined";
}
}
exports.ZaloApiLoginQRDeclined = ZaloApiLoginQRDeclined;
@@ -0,0 +1,12 @@
'use strict';
var ZaloApiError = require('./ZaloApiError.cjs');
class ZaloApiMissingImageMetadataGetter extends ZaloApiError.ZaloApiError {
constructor() {
super("Missing `imageMetadataGetter`. Please provide it in the Zalo object options.");
this.name = "ZaloApiMissingImageMetadataGetter";
}
}
exports.ZaloApiMissingImageMetadataGetter = ZaloApiMissingImageMetadataGetter;