blob: faee13b13c74509a6a46c9546c7f5eeada59f9c9 [file] [log] [blame]
.. _chapter-pw-status:
.. default-domain:: cpp
.. highlight:: sh
---------
pw_status
---------
``pw::Status`` (``pw_status/status.h``) is a simple, zero-overhead status
object. It uses Google's standard status codes, which are also used by projects
such as `gRPC <https://github.com/grpc/grpc/blob/master/doc/statuscodes.md>`_.
``pw::StatusWithSize`` (``pw_status/status_with_size.h``) is a convenient,
efficent class for reporting a status along with an unsigned integer value.
The classes in pw_status are used extensively by other Pigweed modules.
Compatibility
=============
C++11