mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-14 19:02:17 +03:00
6 lines
212 B
TypeScript
6 lines
212 B
TypeScript
import { sanitizeErrorMessage } from "@omniroute/open-sse/utils/error.ts";
|
|
|
|
export function formatTelegramGatewayError(error: unknown): string {
|
|
return `⚠️ Gateway error: ${sanitizeErrorMessage(error)}`;
|
|
}
|