Android-cuttlefish cvd tool
Classes | Namespaces | Macros | Functions
error_type.h File Reference
#include <unistd.h>
#include <ostream>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "tl/expected.hpp"
#include "cuttlefish/ansi_codes/should_color.h"
Include dependency graph for error_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cuttlefish::StackTraceEntry
 
class  cuttlefish::StackTraceError
 

Namespaces

namespace  cuttlefish
 

Macros

#define CF_STACK_TRACE_ENTRY(expression)    StackTraceEntry(__FILE__, __LINE__, __PRETTY_FUNCTION__, __func__, expression)
 

Functions

std::string cuttlefish::ResultErrorFormat (bool color)
 
std::ostream & cuttlefish::operator<< (std::ostream &out, const StackTraceError &error)
 

Macro Definition Documentation

◆ CF_STACK_TRACE_ENTRY

#define CF_STACK_TRACE_ENTRY (   expression)     StackTraceEntry(__FILE__, __LINE__, __PRETTY_FUNCTION__, __func__, expression)