Asylo
Classes | Namespaces | Macros | Functions
status.h File Reference
#include <functional>
#include <ostream>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/container/flat_hash_map.h"
#include "absl/meta/type_traits.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/cord.h"
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include "asylo/util/logging.h"
#include "asylo/util/error_codes.h"
#include "asylo/util/error_space.h"
#include "asylo/util/status.pb.h"
#include "asylo/util/status_error_space.h"
#include "asylo/util/status_internal.h"
Include dependency graph for status.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  asylo::Status
 Status contains information about an error. More...
 

Namespaces

 asylo
 

Macros

#define ASYLO_CHECK_OK(val)   CHECK_EQ(::asylo::OkStatus(), (val))
 Checks that the Status object in val is OK. More...
 

Functions

bool asylo::operator== (const Status &lhs, const Status &rhs)
 
bool asylo::operator!= (const Status &lhs, const Status &rhs)
 
std::ostream & asylo::operator<< (std::ostream &os, const Status &status)
 
bool asylo::operator== (const Status &lhs, const absl::Status &rhs)
 
bool asylo::operator!= (const Status &lhs, const absl::Status &rhs)
 
bool asylo::operator== (const absl::Status &lhs, const Status &rhs)
 
bool asylo::operator!= (const absl::Status &lhs, const Status &rhs)
 
Status asylo::OkStatus ()
 Returns an OK status object. More...
 

Macro Definition Documentation

◆ ASYLO_CHECK_OK

#define ASYLO_CHECK_OK (   val)    CHECK_EQ(::asylo::OkStatus(), (val))

Checks that the Status object in val is OK.