I'm using this from the documentation:
var error = project.GetLastError();
var tmp = "";
if(error != null)
tmp = string.Format("ActionComment: {0}.\r\nActionGroupId: {1}.\r\nActionId: {2}", error.ActionComment, error.ActionGroupId, error.ActionId);
return tmp;
and ActionComment always is...