Why not leverage the existing error_msg?