CppInterOp
C++ Language Interoperability Layer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Cpp::StatusError Class Reference

#include "lib/CppInterOp/ErrorInternal.h"

Inheritance diagram for Cpp::StatusError:
Inheritance graph
[legend]
Collaboration diagram for Cpp::StatusError:
Collaboration graph
[legend]

Public Member Functions

 StatusError (Status C, std::string M)
 
void log (llvm::raw_ostream &OS) const override
 
std::error_code convertToErrorCode () const override
 

Public Attributes

Status Code
 
std::string Message
 

Static Public Attributes

static char ID = 0
 

Detailed Description

Definition at line 69 of file ErrorInternal.h.

Constructor & Destructor Documentation

◆ StatusError()

Cpp::StatusError::StatusError ( Status  C,
std::string  M 
)
inline

Definition at line 75 of file ErrorInternal.h.

Member Function Documentation

◆ convertToErrorCode()

std::error_code Cpp::StatusError::convertToErrorCode ( ) const
override

Definition at line 161 of file ErrorInternal.cpp.

◆ log()

void Cpp::StatusError::log ( llvm::raw_ostream &  OS) const
override

Definition at line 158 of file ErrorInternal.cpp.

Member Data Documentation

◆ Code

Status Cpp::StatusError::Code

Definition at line 72 of file ErrorInternal.h.

Referenced by Cpp::drainError().

◆ ID

char Cpp::StatusError::ID = 0
static

Definition at line 71 of file ErrorInternal.h.

◆ Message

std::string Cpp::StatusError::Message

Definition at line 73 of file ErrorInternal.h.

Referenced by Cpp::drainError().


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