1 2 3 4 5 6 7 8 9 10 11 12
import QtQml QtObject { property var foo: new Error("bar") property int aaa: 12 function ouch() { aaa = 13; throw new Error("ouch") aaa = 25; } }