1 2 3 4 5 6 7 8
import QtQml 2.12 QtObject { function f() { try {} catch(err) {} console.log(err); } }