Fix typo error in function name

Function name was "BuildErrorMesage" instead of "BuildErrorMessage"