| 
    Apache GraphAr C++ Library
    
   The C++ Library for Apache GraphAr 
   | 
 
Status outcome object (success or error) More...
#include <status.h>
Public Member Functions | |
| Status () noexcept | |
| ~Status () noexcept | |
| Status (StatusCode code, const std::string &msg) | |
| Constructs a status with the specified error code and message.  More... | |
| Status (const Status &s) | |
| Status (Status &&s) noexcept | |
| Status & | operator= (Status &&s) noexcept | 
| constexpr bool | ok () const | 
| constexpr bool | IsKeyError () const | 
| constexpr bool | IsTypeError () const | 
| constexpr bool | IsInvalid () const | 
| constexpr bool | IsIndexError () const | 
| constexpr bool | IsYamlError () const | 
| constexpr bool | IsArrowError () const | 
| constexpr StatusCode | code () const | 
| const std::string & | message () const | 
Static Public Member Functions | |
| static Status | OK () | 
| template<typename... Args> | |
| static Status | FromArgs (StatusCode code, Args... args) | 
| template<typename... Args> | |
| static Status | IOError (Args &&... args) | 
| template<typename... Args> | |
| static Status | KeyError (Args &&... args) | 
| template<typename... Args> | |
| static Status | TypeError (Args &&... args) | 
| template<typename... Args> | |
| static Status | Invalid (Args &&... args) | 
| template<typename... Args> | |
| static Status | IndexError (Args &&... args) | 
| template<typename... Args> | |
| static Status | YamlError (Args &&... args) | 
| template<typename... Args> | |
| static Status | ArrowError (Args &&... args) | 
| template<typename... Args> | |
| static Status | UnknownError (Args &&... args) | 
Status outcome object (success or error)
The Status object is an object holding the outcome of an operation. The outcome is represented as a StatusCode, either success (StatusCode::OK) or an error (any other of the StatusCode enumeration values).
Additionally, if an error occurred, a specific error message is generally attached.
      
  | 
  inlinenoexcept | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlinenoexcept | 
      
  | 
  inlinestatic | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlinestatic | 
      
  | 
  inline | 
      
  | 
  inlinestatic | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic |