![]() |
Diarkis C++Client Library API Document
|
Arguments of the callback event called when sending or receiving fails in P2P. More...
#include <eventArgs.h>
Public Member Functions | |
uint32_t | GetErrorCode () const |
Get error code. More... | |
const Diarkis::StdString & | GetErrorMessage () const |
Gets the contents of the error. More... | |
DiarkisExceptionEventArgs (uint32_t errorCode, const Diarkis::StdString &message) | |
DiarkisExceptionEventArgs (DiarkisExceptionEventArgs &)=delete | |
DiarkisExceptionEventArgs (DiarkisExceptionEventArgs &&)=delete | |
Arguments of the callback event called when sending or receiving fails in P2P.
Diarkis::DiarkisExceptionEventArgs::DiarkisExceptionEventArgs | ( | uint32_t | errorCode, |
const Diarkis::StdString & | message | ||
) |
|
delete |
|
delete |
uint32_t Diarkis::DiarkisExceptionEventArgs::GetErrorCode | ( | ) | const |
Get error code.
Return 0 if IsSuccess()=true.
const Diarkis::StdString& Diarkis::DiarkisExceptionEventArgs::GetErrorMessage | ( | ) | const |
Gets the contents of the error.