Open History to see the last commit
1export const PREVIEW_RECENT_URL_LIMIT = 10;
2
3export const PREVIEW_ERROR_CODE_MESSAGES: Readonly<Record<string, string>> = Object.freeze({
4 ERR_NAME_NOT_RESOLVED: "DNS address could not be found",
5 ERR_NAME_RESOLUTION_FAILED: "DNS address could not be found",
6 ERR_CONNECTION_REFUSED: "Connection refused",
7 ERR_CONNECTION_RESET: "Connection was reset",
8 ERR_CONNECTION_CLOSED: "Connection was closed",
9 ERR_CONNECTION_TIMED_OUT: "Connection timed out",
10 ERR_INTERNET_DISCONNECTED: "No internet connection",
11 ERR_TIMED_OUT: "Connection timed out",
12 ERR_CERT_AUTHORITY_INVALID: "Certificate authority is not trusted",
13 ERR_CERT_COMMON_NAME_INVALID: "Certificate hostname mismatch",
14 ERR_CERT_DATE_INVALID: "Certificate is expired or not yet valid",
15 ERR_TOO_MANY_REDIRECTS: "Too many redirects",
16});