update lại thư mục cấu trúc mới của server nodejs và python
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
export declare class ZaloApiError extends Error {
|
||||
code: number | null;
|
||||
constructor(message: string, code?: number);
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
export class ZaloApiError extends Error {
|
||||
constructor(message, code) {
|
||||
super(message);
|
||||
this.name = "ZcaApiError";
|
||||
this.code = code || null;
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { ZaloApiError } from "./ZaloApiError.js";
|
||||
export declare class ZaloApiLoginQRAborted extends ZaloApiError {
|
||||
constructor(message?: string);
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import { ZaloApiError } from "./ZaloApiError.js";
|
||||
export class ZaloApiLoginQRAborted extends ZaloApiError {
|
||||
constructor(message = "Operation aborted") {
|
||||
super(message);
|
||||
this.name = "ZaloApiLoginQRAborted";
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
import { ZaloApiError } from "./ZaloApiError.js";
|
||||
export declare class ZaloApiLoginQRDeclined extends ZaloApiError {
|
||||
constructor(message?: string);
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import { ZaloApiError } from "./ZaloApiError.js";
|
||||
export class ZaloApiLoginQRDeclined extends ZaloApiError {
|
||||
constructor(message = "Login QR request declined") {
|
||||
super(message);
|
||||
this.name = "ZaloApiLoginQRDeclined";
|
||||
}
|
||||
}
|
||||
Generated
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import { ZaloApiError } from "./ZaloApiError.js";
|
||||
export declare class ZaloApiMissingImageMetadataGetter extends ZaloApiError {
|
||||
constructor();
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import { ZaloApiError } from "./ZaloApiError.js";
|
||||
export class ZaloApiMissingImageMetadataGetter extends ZaloApiError {
|
||||
constructor() {
|
||||
super("Missing `imageMetadataGetter`. Please provide it in the Zalo object options.");
|
||||
this.name = "ZaloApiMissingImageMetadataGetter";
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export * from "./ZaloApiError.js";
|
||||
export * from "./ZaloApiMissingImageMetadataGetter.js";
|
||||
export * from "./ZaloApiLoginQRAborted.js";
|
||||
export * from "./ZaloApiLoginQRDeclined.js";
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export * from "./ZaloApiError.js";
|
||||
export * from "./ZaloApiMissingImageMetadataGetter.js";
|
||||
export * from "./ZaloApiLoginQRAborted.js";
|
||||
export * from "./ZaloApiLoginQRDeclined.js";
|
||||
Reference in New Issue
Block a user