/*
 * This type holds detailed error context for when a request fails
 * This helps users understand exactly where and why a request failed
 */
export var RequestFailedPhase;
(function (RequestFailedPhase) {
    // DNS resolution failed - could not resolve hostname to IP
    RequestFailedPhase["DNSResolution"] = "DNS Resolution";
    // TCP connection failed - could not establish connection to server
    RequestFailedPhase["TCPConnection"] = "TCP Connection";
    // TLS/SSL handshake failed
    RequestFailedPhase["TLSHandshake"] = "TLS Handshake";
    // Request was sent but timed out waiting for response
    RequestFailedPhase["RequestTimeout"] = "Request Timeout";
    // Server responded with an error status code
    RequestFailedPhase["ServerResponse"] = "Server Response";
    // Request was aborted
    RequestFailedPhase["RequestAborted"] = "Request Aborted";
    // Network error - general network failure
    RequestFailedPhase["NetworkError"] = "Network Error";
    // Certificate error
    RequestFailedPhase["CertificateError"] = "Certificate Error";
    // Unknown error
    RequestFailedPhase["Unknown"] = "Unknown";
})(RequestFailedPhase || (RequestFailedPhase = {}));
//# sourceMappingURL=RequestFailedDetails.js.map