added GetErrorMessages