#include "quiche/quic/core/quic_error_codes.h"
#include <cstdint>
#include <cstring>
#include <ostream>
#include <string>
#include "absl/strings/str_cat.h"
#include "openssl/ssl.h"
#include "quiche/quic/platform/api/quic_logging.h"
namespace quic {
#define RETURN_STRING_LITERAL …
const char* QuicRstStreamErrorCodeToString(QuicRstStreamErrorCode error) { … }
const char* QuicErrorCodeToString(QuicErrorCode error) { … }
std::string QuicIetfTransportErrorCodeString(QuicIetfTransportErrorCodes c) { … }
std::ostream& operator<<(std::ostream& os,
const QuicIetfTransportErrorCodes& c) { … }
QuicErrorCodeToIetfMapping QuicErrorCodeToTransportErrorCode(
QuicErrorCode error) { … }
QuicErrorCode TlsAlertToQuicErrorCode(uint8_t desc) { … }
uint64_t RstStreamErrorCodeToIetfResetStreamErrorCode(
QuicRstStreamErrorCode rst_stream_error_code) { … }
QuicRstStreamErrorCode IetfResetStreamErrorCodeToRstStreamErrorCode(
uint64_t ietf_error_code) { … }
QuicResetStreamError QuicResetStreamError::FromInternal(
QuicRstStreamErrorCode code) { … }
QuicResetStreamError QuicResetStreamError::FromIetf(uint64_t code) { … }
QuicResetStreamError QuicResetStreamError::FromIetf(QuicHttp3ErrorCode code) { … }
QuicResetStreamError QuicResetStreamError::FromIetf(
QuicHttpQpackErrorCode code) { … }
#undef RETURN_STRING_LITERAL
}