9#ifndef LLDB_API_SBERROR_H
10#define LLDB_API_SBERROR_H
68 %varargs(3,
char *str = NULL) SetErrorStringWithFormat;
71 int SetErrorStringWithFormat(
const char *format, ...);
73 explicit operator bool()
const;
104 friend class lldb_private::python::SWIGBridge;
static llvm::raw_ostream & error(Stream &strm)
uint32_t GetError() const
Get the error code.
friend class SBWatchpoint
bool GetDescription(lldb::SBStream &description)
std::unique_ptr< lldb_private::Status > m_opaque_up
friend class SBStructuredData
friend class SBCommandReturnObject
friend class SBSaveCoreOptions
void SetErrorString(const char *err_str)
void SetError(uint32_t err, lldb::ErrorType type)
friend class SBBreakpoint
const SBError & operator=(const lldb::SBError &rhs)
lldb_private::Status & ref()
lldb::ErrorType GetType() const
const lldb_private::Status & operator*() const
friend class SBReproducer
void SetErrorToGenericError()
const char * GetCString() const
Get the error string as a NULL terminated UTF8 c-string.
lldb_private::Status * operator->()
SBStructuredData GetErrorData() const
Get the error in machine-readable form.
lldb_private::Status * get()
__attribute__((format(printf, 2, 3))) int SetErrorStringWithFormat(const char *format
friend class SBBreakpointName
friend class SBBreakpointLocation
friend class SBCommunication
A class that represents a running process on the host machine.