Variable: NETWORK_ERRORS
constNETWORK_ERRORS: {AUTHENTICATION_FAILED:"Authentication failed";AUTHORIZATION_FAILED:"Authorization failed";BAD_REQUEST:"Bad request";CONNECTION_FAILED:"Network connection failed";CONNECTION_TIMEOUT:"Connection timed out";DNS_RESOLUTION_FAILED:"DNS resolution failed";HOST_UNREACHABLE:"Host unreachable";RESOURCE_NOT_FOUND:"Resource not found";SERVER_ERROR:"Server error";SSL_CONNECTION_FAILED:"SSL/TLS connection failed"; }
Defined in: shared/utils/errorCatalog.ts:205
Network-related error messages.
Type Declarationโ
AUTHENTICATION_FAILEDโ
readonlyAUTHENTICATION_FAILED:"Authentication failed"="Authentication failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authentication fails
AUTHORIZATION_FAILEDโ
readonlyAUTHORIZATION_FAILED:"Authorization failed"="Authorization failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authorization fails
BAD_REQUESTโ
readonlyBAD_REQUEST:"Bad request"="Bad request"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when request is malformed
CONNECTION_FAILEDโ
readonlyCONNECTION_FAILED:"Network connection failed"="Network connection failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when network connection fails
CONNECTION_TIMEOUTโ
readonlyCONNECTION_TIMEOUT:"Connection timed out"="Connection timed out"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when connection times out
DNS_RESOLUTION_FAILEDโ
readonlyDNS_RESOLUTION_FAILED:"DNS resolution failed"="DNS resolution failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when DNS resolution fails
HOST_UNREACHABLEโ
readonlyHOST_UNREACHABLE:"Host unreachable"="Host unreachable"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when host cannot be reached
RESOURCE_NOT_FOUNDโ
readonlyRESOURCE_NOT_FOUND:"Resource not found"="Resource not found"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when resource is not found
SERVER_ERRORโ
readonlySERVER_ERROR:"Server error"="Server error"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when server returns error
SSL_CONNECTION_FAILEDโ
readonlySSL_CONNECTION_FAILED:"SSL/TLS connection failed"="SSL/TLS connection failed"
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when SSL/TLS connection fails
Remarksโ
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error messages for network operations, connectivity issues, and communication errors.