Convert MsgMemPool errors to MessageError type.