StatusCodeEnum Helpers

These are various BlueprintAutocasts to help you convert between EErrorCodes and other types.

#include "ErrorCodeFunctionLibrary.h"


TEnumAsByte<EErrorCode> Conv_IntToErrorCode(int32 HttpStatus)


This will convert to true if the code is EmergenceOk, otherwise will be false. Useful for putting after a call to the EVM server to see if code should continue to read the output or whether an error should be handled.

int32 Conv_ErrorCodeToInt(TEnumAsByte<EErrorCode> ErrorCode)


Conv_ErrorCodeToBool(TEnumAsByte<EErrorCode> ErrorCode);

Last updated