mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update Constants.ts
This commit is contained in:
@@ -55,8 +55,8 @@ export class BaileysError extends Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export const TimedOutError = (stack?: string) => new BaileysError ('timed out', { status: 408 })
|
export const TimedOutError = (stack?: string) => new BaileysError ('timed out', { status: 408 }, stack)
|
||||||
export const CancelledError = (stack?: string) => new BaileysError ('cancelled', { status: 500 })
|
export const CancelledError = (stack?: string) => new BaileysError ('cancelled', { status: 500 }, stack)
|
||||||
|
|
||||||
export interface WAQuery {
|
export interface WAQuery {
|
||||||
json: any[] | WANode
|
json: any[] | WANode
|
||||||
|
|||||||
Reference in New Issue
Block a user