Doc: Expand on QJSEngine exception handling
authorSze Howe Koh <szehowe.koh@gmail.com>
Tue, 14 Apr 2015 23:45:03 +0000 (07:45 +0800)
committerSze Howe Koh <szehowe.koh@gmail.com>
Sat, 18 Apr 2015 00:24:05 +0000 (00:24 +0000)
commitaa1524a4dde5098da2c9e40eb60bbaecf69bbe1c
tree37a7f1d5b7d3ec43e1153cf9eb3d0b1625b887e3
parent34bd29fa9b1b6b195b16c55c0b97dfc85d448683
Doc: Expand on QJSEngine exception handling

- List the properties provided by the Error object. They consist of the
  standard properties and a subset of the Mozilla extensions.
- Add QJSValue::property() usage to the example code.
- Add cross-referencing.
- Some rephrasing for clarity and conciseness.

Change-Id: I1eb6943899fee2bd81851ccb03660a7a474a975d
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
src/qml/doc/snippets/code/src_script_qjsengine.cpp
src/qml/jsapi/qjsengine.cpp
src/qml/jsapi/qjsvalue.cpp