These are various BlueprintAutocasts to help you convert between EErrorCodes and other types.
Last updated 2 years ago
#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.
true
EmergenceOk
false
int32 Conv_ErrorCodeToInt(TEnumAsByte<EErrorCode> ErrorCode)
Conv_ErrorCodeToBool(TEnumAsByte<EErrorCode> ErrorCode);