add overridable method for handleError, override it in promise