QGrpcStatus Class | Qt GRPC | Qt 6.10.2
Description: The QGrpcStatus class combines a StatusCode and a string message.

- Qt 6.10
- Qt GRPC
- C++ Classes
- QGrpcStatus
- Qt 6.10.2 Reference Documentation

# QGrpcStatus Class

The QGrpcStatus class combines a StatusCode and a string message. More...

Header: | `#include <QGrpcStatus>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS Grpc)` `target_link_libraries(mytarget PRIVATE Qt6::Grpc)`
Since: | Qt 6.5

This class is equality-comparable.

This class is equality-comparable with QtGrpc::StatusCode.

## Detailed Description

The QGrpcStatus class usually provides information about a finished gRPC™ operation, as returned by the server.

If a RPC operation failed, contains a StatusCode other than Ok.

## Member Function Documentation

### `[noexcept private]` int QGrpcStatus::message() &&

### `[noexcept private]` const int &QGrpcStatus::message() const &

Returns the contained status message.