Average consensus on strongly connected weighted digraphs: A generalized error bound