|
Android-cuttlefish cvd tool
|
#include <error_type.h>
Public Types | |
| using | ValueOrBool = std::conditional_t< std::is_void_v< E >, bool, E > |
Public Member Functions | |
| StackTraceError () | |
| StackTraceError (StackTraceEntry first_entry) | |
| StackTraceError (std::vector< StackTraceEntry > stack) | |
| StackTraceError (ValueOrBool value) | |
| StackTraceError (ValueOrBool value, std::vector< StackTraceEntry > stack) | |
| StackTraceError (ValueOrBool value, StackTraceEntry first_entry) | |
| template<typename E2 > requires std::is_void_v<E> | |
| StackTraceError (StackTraceError< E2 > other) | |
| StackTraceError< E > & | PushEntry (StackTraceEntry entry) & |
| StackTraceError< E > | 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 > () && | |
| ValueOrBool & | Value () |
| const ValueOrBool & | Value () const |
| ValueOrBool & | operator* () |
| const ValueOrBool & | operator* () const |
| template<typename E2 > | |
| StackTraceError< E2 > | WithValue (E2 value) & |
| template<typename E2 > | |
| StackTraceError< E2 > | WithValue (E2 value) && |
| operator StackTraceError< void > () & | |
| operator StackTraceError< void > () && | |
| std::string | Message () const |
| std::string | Trace () const |
| std::string | FormatForEnv (bool color) const |
Private Attributes | |
| ValueOrBool | value_ |
| std::vector< StackTraceEntry > | stack_ |
Friends | |
| class | StackTraceError< void > |
| using cuttlefish::StackTraceError< E >::ValueOrBool = std::conditional_t<std::is_void_v<E>, bool, E> |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
| std::string cuttlefish::StackTraceError< void >::FormatForEnv | ( | bool | color | ) | const |
| std::string cuttlefish::StackTraceError< E >::FormatForEnv | ( | bool | color = ShouldColorStdout() | ) | const |
| std::string cuttlefish::StackTraceError< void >::Message | ( | ) | const |
| std::string cuttlefish::StackTraceError< E >::Message | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string cuttlefish::StackTraceError< void >::Trace | ( | ) | const |
| std::string cuttlefish::StackTraceError< E >::Trace | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |