| 1 | package types |
| 2 | |
| 3 | const ( |
| 4 | APIErrorCodeFeatureUnavailable = "feature_unavailable" |
| 5 | APIErrorCodeHijackFailed = "hijack_failed" |
| 6 | APIErrorCodeHijackUnsupported = "hijack_unsupported" |
| 7 | APIErrorCodeHostnameConflict = "hostname_conflict" |
| 8 | APIErrorCodeHTTP11Only = "http11_only" |
| 9 | APIErrorCodeInvalidAddress = "invalid_address" |
| 10 | APIErrorCodeInvalidIP = "invalid_ip" |
| 11 | APIErrorCodeInvalidJSON = "invalid_json" |
| 12 | APIErrorCodeInvalidMode = "invalid_mode" |
| 13 | APIErrorCodeInvalidRequest = "invalid_request" |
| 14 | APIErrorCodeInternal = "internal" |
| 15 | APIErrorCodeIPBanned = "ip_banned" |
| 16 | APIErrorCodeLeaseNotFound = "lease_not_found" |
| 17 | APIErrorCodeLeaseRejected = "lease_rejected" |
| 18 | APIErrorCodeMethodNotAllowed = "method_not_allowed" |
| 19 | APIErrorCodeNotFound = "not_found" |
| 20 | APIErrorCodeRateLimited = "rate_limited" |
| 21 | APIErrorCodeUnauthorized = "unauthorized" |
| 22 | APIErrorCodeUDPPortExhausted = "udp_port_exhausted" |
| 23 | APIErrorCodeUDPDisabled = "udp_disabled" |
| 24 | APIErrorCodeUDPCapacityExceeded = "udp_capacity_exceeded" |
| 25 | APIErrorCodeTCPPortExhausted = "tcp_port_exhausted" |
| 26 | APIErrorCodeTCPPortDisabled = "tcp_port_disabled" |
| 27 | APIErrorCodeTCPPortCapacityExceeded = "tcp_port_capacity_exceeded" |
| 28 | APIErrorCodeTransportMismatch = "transport_mismatch" |
| 29 | |
| 30 | MITMProbeReasonExporterMismatch = "tls_exporter_mismatch" |
| 31 | MITMProbeReasonProbeTimeout = "probe_timeout" |
| 32 | ) |