OmniClientErrorInfo#

struct OmniClientErrorInfo#

Detailed error information reported by the client library.

This is intended for diagnostic reporting. The string pointers are only valid until the callback returns.

Public Members

char const *uri#

URI or operation parameters associated with the failure.

char const *message#

Human readable error message, or nullptr if no message is available.

bool hasHttpErrorCode#

True when httpErrorCode contains a valid HTTP status code.

int64_t httpErrorCode#

HTTP status code associated with the failure.

bool hasGrpcErrorCode#

True when grpcErrorCode contains a valid gRPC status code.

int32_t grpcErrorCode#

gRPC status code associated with the failure.

char const *operation#

Client operation name, or nullptr if no operation name is available.