call delegate when web view error appears.