class Err
Defined at line 38 of file ../../src/developer/debug/zxdb/common/err.h
Public Methods
void Err ()
Indicates no error.
Defined at line 16 of file ../../src/developer/debug/zxdb/common/err.cc
void Err (ErrType type, const std::string & msg)
Indicates an error of the given type with an optional error message.
Defined at line 18 of file ../../src/developer/debug/zxdb/common/err.cc
void Err (const std::string & msg)
Produces a "general" error with the given message.
Defined at line 20 of file ../../src/developer/debug/zxdb/common/err.cc
void Err (const debug::Status & debug_status)
Conversion from an error that comes from the agent. It could also indicate "success" which
will produce a "success" Err.
Defined at line 22 of file ../../src/developer/debug/zxdb/common/err.cc
void Err (const char * fmt)
Defined at line 57 of file ../../src/developer/debug/zxdb/common/err.cc
Err OptimizedOut ()
Returns a standard "optimized out" error.
Defined at line 58 of file ../../src/developer/debug/zxdb/common/err.h
bool has_error ()
Defined at line 60 of file ../../src/developer/debug/zxdb/common/err.h
bool ok ()
Defined at line 61 of file ../../src/developer/debug/zxdb/common/err.h
ErrType type ()
Defined at line 63 of file ../../src/developer/debug/zxdb/common/err.h
void ~Err ()
Defined at line 64 of file ../../src/developer/debug/zxdb/common/err.cc
const std::string & msg ()
Defined at line 64 of file ../../src/developer/debug/zxdb/common/err.h
std::string ToString ()
Defined at line 68 of file ../../src/developer/debug/zxdb/common/err.cc
bool operator== (const Err & other)
Equality operator is provided for tests.
Defined at line 66 of file ../../src/developer/debug/zxdb/common/err.cc