Go to the documentation of this file.
23 #include "absl/strings/string_view.h"
32 #if __cplusplus > 201103l
33 #define GRPC_VALIDATE_METADATA_CONSTEXPR_FN constexpr
34 #define GRPC_VALIDATE_METADATA_CONSTEXPR_VALUE constexpr
36 #define GRPC_VALIDATE_METADATA_CONSTEXPR_FN
37 #define GRPC_VALIDATE_METADATA_CONSTEXPR_VALUE const
42 const char* err_desc) {
72 for (
int i =
'a';
i <=
'z';
i++)
set(
i);
73 for (
int i =
'0';
i <=
'9';
i++)
set(
i);
80 g_legal_header_key_bits;
86 "Metadata keys cannot be zero length");
90 "Metadata keys cannot be larger than UINT32_MAX");
94 "Metadata keys cannot start with :");
107 for (
int i = 32;
i <= 126;
i++) {
113 g_legal_header_non_bin_value_bits;
119 "Illegal header value");
#define GRPC_ERROR_CREATE_FROM_COPIED_STRING(desc)
GRPC_BITSET_CONSTEXPR_MUTATOR void set(int i)
@ GRPC_ERROR_STR_RAW_BYTES
hex dump (or similar) with the data that generated this error
grpc_error_handle grpc_error_set_str(grpc_error_handle src, grpc_error_strs which, absl::string_view str)
constexpr bool is_set(int i) const
#define GRPC_SLICE_START_PTR(slice)
#define GRPC_SLICE_END_PTR(slice)
std::unique_ptr< T, DefaultDeleteChar > UniquePtr
#define GRPC_ERROR_CREATE_FROM_STATIC_STRING(desc)
#define GRPC_SLICE_LENGTH(slice)
grpc_error_handle grpc_error_set_int(grpc_error_handle src, grpc_error_ints which, intptr_t value)
#define GRPC_ERROR_UNREF(err)
char * gpr_dump_return_len(const char *buf, size_t len, uint32_t flags, size_t *out_len)
#define GRPC_ERROR_IS_NONE(err)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:49