Android-cuttlefish cvd tool
Classes | Namespaces | Enumerations | Functions | Variables
error_type.cc File Reference
#include "cuttlefish/result/error_type.h"
#include <cstddef>
#include <cstdlib>
#include <optional>
#include <ostream>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "absl/strings/str_cat.h"
#include "fmt/base.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "cuttlefish/ansi_codes/ansi_codes.h"
Include dependency graph for error_type.cc:

Classes

struct  fmt::formatter< cuttlefish::StackTraceEntry >
 
struct  fmt::formatter< cuttlefish::StackTraceError >
 

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{error_type.cc}
 

Enumerations

enum class  cuttlefish::anonymous_namespace{error_type.cc}::FormatSpecifier : char {
  cuttlefish::anonymous_namespace{error_type.cc}::kArrow = 'a' , cuttlefish::anonymous_namespace{error_type.cc}::kColor = 'c' , cuttlefish::anonymous_namespace{error_type.cc}::kFunction = 'f' , cuttlefish::anonymous_namespace{error_type.cc}::kLongExpression = 'E' ,
  cuttlefish::anonymous_namespace{error_type.cc}::kLongLocation = 'L' , cuttlefish::anonymous_namespace{error_type.cc}::kMessage = 'm' , cuttlefish::anonymous_namespace{error_type.cc}::kNumbers = 'n' , cuttlefish::anonymous_namespace{error_type.cc}::kPrettyFunction = 'F' ,
  cuttlefish::anonymous_namespace{error_type.cc}::kShort = 's' , cuttlefish::anonymous_namespace{error_type.cc}::kShortExpression = 'e' , cuttlefish::anonymous_namespace{error_type.cc}::kShortLocation = 'l'
}
 

Functions

fmt::format_context::iterator cuttlefish::anonymous_namespace{error_type.cc}::FormatEntry (fmt::format_context &ctx, const StackTraceEntry &entry, const std::vector< FormatSpecifier > &specifiers, std::optional< int > index)
 
std::string cuttlefish::ResultErrorFormat (bool color)
 
std::ostream & cuttlefish::operator<< (std::ostream &out, const StackTraceError &error)
 

Variables

static constexpr auto cuttlefish::anonymous_namespace{error_type.cc}::kVerbose
 
static constexpr auto cuttlefish::anonymous_namespace{error_type.cc}::kVeryVerbose