diff options
| author | Ignacio Etcheverry | 2018-01-09 17:19:03 +0100 |
|---|---|---|
| committer | Ignacio Etcheverry | 2018-01-09 17:19:03 +0100 |
| commit | 5be356b72f5b765cdec069c2c4a4011a42fabc47 (patch) | |
| tree | 5a8bc0f7a3e9cb0646634e5df57d9c73d98d6a09 /core/script_language.h | |
| parent | 52165fa12de7ca76898a7c1855a2f23797b2c2ed (diff) | |
| download | godot-5be356b72f5b765cdec069c2c4a4011a42fabc47.tar.gz godot-5be356b72f5b765cdec069c2c4a4011a42fabc47.tar.zst godot-5be356b72f5b765cdec069c2c4a4011a42fabc47.zip | |
Diffstat (limited to 'core/script_language.h')
| -rw-r--r-- | core/script_language.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/script_language.h b/core/script_language.h index 6bf2129f9..66614a293 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -254,7 +254,8 @@ public: virtual String debug_parse_stack_level_expression(int p_level, const String &p_expression, int p_max_subitems = -1, int p_max_depth = -1) = 0; struct StackInfo { - Ref<Script> script; + String file; + String func; int line; }; @@ -391,6 +392,7 @@ public: ScriptLanguage *get_break_language() const; virtual void send_message(const String &p_message, const Array &p_args) = 0; + virtual void send_error(const String &p_func, const String &p_file, int p_line, const String &p_err, const String &p_descr, ErrorHandlerType p_type, const Vector<ScriptLanguage::StackInfo> &p_stack_info) = 0; virtual bool is_remote() const { return false; } virtual void request_quit() {} |
