I developpe a browser with python and pyqt4 but I don't know what I put in loaderror
try:
self.webView.load(QtCore.QUrl(self.lineEdit.text()))
except loaderreur:
self.webView.load(QtCore.QUrl('erreur.html'))
when the page doesn't exist thx