Android-cuttlefish cvd tool
Public Member Functions | Private Attributes | List of all members
cuttlefish::StackTraceError Class Reference

#include <error_type.h>

Public Member Functions

StackTraceErrorPushEntry (StackTraceEntry entry) &
 
StackTraceError PushEntry (StackTraceEntry entry) &&
 
const std::vector< StackTraceEntry > & Stack () const
 
std::string Message () const
 
std::string Trace () const
 
std::string FormatForEnv (bool color=ShouldColorStdout()) const
 
template<typename T >
 operator tl::expected< T, StackTraceError > () &&
 

Private Attributes

std::vector< StackTraceEntrystack_
 

Member Function Documentation

◆ FormatForEnv()

std::string cuttlefish::StackTraceError::FormatForEnv ( bool  color = ShouldColorStdout()) const

◆ Message()

std::string cuttlefish::StackTraceError::Message ( ) const

◆ operator tl::expected< T, StackTraceError >()

template<typename T >
cuttlefish::StackTraceError::operator tl::expected< T, StackTraceError > ( ) &&
inline

◆ PushEntry() [1/2]

StackTraceError & cuttlefish::StackTraceError::PushEntry ( StackTraceEntry  entry) &

◆ PushEntry() [2/2]

StackTraceError cuttlefish::StackTraceError::PushEntry ( StackTraceEntry  entry) &&

◆ Stack()

const std::vector< StackTraceEntry > & cuttlefish::StackTraceError::Stack ( ) const

◆ Trace()

std::string cuttlefish::StackTraceError::Trace ( ) const

Member Data Documentation

◆ stack_

std::vector<StackTraceEntry> cuttlefish::StackTraceError::stack_
private

The documentation for this class was generated from the following files: