add error to mtrpc