* Get rid of maybeEmitUncaughtException * Mostly get rid of makeError * Introduce exception hierarchy, change exceptions to shared_ptr * Simplify exception throwing code
Showing the changes to libraries/script-engine/src/ScriptManagerScriptingInterface.h (1 of 10 files). Show all
Unified · Split
| @@ -698,7 +698,11 @@ protected: · 697 unmodified lines | |||
| 698 | Q_INVOKABLE void entityScriptContentAvailable(const EntityItemID& entityID, const QString& scriptOrURL, const QString& contents, bool isURL, bool success, const QString& status) | 698 | Q_INVOKABLE void entityScriptContentAvailable(const EntityItemID& entityID, const QString& scriptOrURL, const QString& contents, bool isURL, bool success, const QString& status) |
| 699 | { _manager->entityScriptContentAvailable(entityID, scriptOrURL, contents, isURL, success, status); } | 699 | { _manager->entityScriptContentAvailable(entityID, scriptOrURL, contents, isURL, success, status); } |
| 700 | 700 | ||
| 701 | private slots: | ||
| 702 | void scriptManagerException(std::shared_ptr<ScriptException> exception); | ||
| 703 | |||
| 701 | 704 | ||
| 702 | private: | 705 | private: |
| 706 | |||
| 703 | ScriptManager *_manager; | 707 | ScriptManager *_manager; |
| 704 | }; | 708 | }; |