The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import { msg } from "gt-react"; |
| 2 | |
| 3 | export const PREVIEW_RECENT_URL_LIMIT = 10; |
| 4 | |
| 5 | export const PREVIEW_ERROR_CODE_MESSAGES: Readonly<Record<string, string>> = Object.freeze({ |
| 6 | ERR_NAME_NOT_RESOLVED: msg("DNS address could not be found"), |
| 7 | ERR_NAME_RESOLUTION_FAILED: msg("DNS address could not be found"), |
| 8 | ERR_CONNECTION_REFUSED: msg("Connection refused"), |
| 9 | // Another environment's localhost tab, when its tunnel or the port on that machine is unreachable. |
| 10 | ERR_SOCKS_CONNECTION_FAILED: msg("Could not reach this port on the environment"), |
| 11 | ERR_CONNECTION_RESET: msg("Connection was reset"), |
| 12 | ERR_CONNECTION_CLOSED: msg("Connection was closed"), |
| 13 | ERR_CONNECTION_TIMED_OUT: msg("Connection timed out"), |
| 14 | ERR_INTERNET_DISCONNECTED: msg("No internet connection"), |
| 15 | ERR_TIMED_OUT: msg("Connection timed out"), |
| 16 | ERR_CERT_AUTHORITY_INVALID: msg("Certificate authority is not trusted"), |
| 17 | ERR_CERT_COMMON_NAME_INVALID: msg("Certificate hostname mismatch"), |
| 18 | ERR_CERT_DATE_INVALID: msg("Certificate is expired or not yet valid"), |
| 19 | ERR_TOO_MANY_REDIRECTS: msg("Too many redirects"), |
| 20 | }); |