CatapultServer  v0.5.0.1 (Elephant)
RawFile.cpp File Reference
Include dependency graph for RawFile.cpp:

Namespaces

 catapult
 
 catapult::io
 

Macros

#define CATAPULT_CHECK_FILE_OPERATION_RESULT(MESSAGE, OPERATION_RESULT)
 

Macro Definition Documentation

◆ CATAPULT_CHECK_FILE_OPERATION_RESULT

#define CATAPULT_CHECK_FILE_OPERATION_RESULT (   MESSAGE,
  OPERATION_RESULT 
)
Value:
do { \
if (!OPERATION_RESULT.IsSuccess) { \
CATAPULT_LOG(error) \
<< MESSAGE << " " << m_pathname << ": " \
<< OPERATION_RESULT.Message << " (" << OPERATION_RESULT.ErrorCode << ")"; \
CATAPULT_THROW_FILE_IO_ERROR(MESSAGE); \
} \
} while (false)

Variable Documentation

◆ ErrorCode

int32_t ErrorCode

◆ IsSuccess

bool IsSuccess

◆ Message

std::string Message

◆ Value

T Value