Skip to main content

Variable: NETWORK_ERRORS

const NETWORK_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โ€‹

readonly AUTHENTICATION_FAILED: "Authentication failed" = "Authentication failed"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authentication fails

AUTHORIZATION_FAILEDโ€‹

readonly AUTHORIZATION_FAILED: "Authorization failed" = "Authorization failed"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when authorization fails

BAD_REQUESTโ€‹

readonly BAD_REQUEST: "Bad request" = "Bad request"

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error when request is malformed

CONNECTION_FAILEDโ€‹

readonly CONNECTION_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โ€‹

readonly CONNECTION_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โ€‹

readonly DNS_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โ€‹

readonly HOST_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โ€‹

readonly RESOURCE_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โ€‹

readonly SERVER_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โ€‹

readonly SSL_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.