Add try-catch.

This commit is contained in:
Stephen Chung
2020-10-20 23:16:03 +08:00
parent 5ee9dfc5cd
commit 07bdb824fe
12 changed files with 343 additions and 35 deletions

View File

@@ -5,6 +5,9 @@ Rhai Release Notes
Version 0.19.3
==============
This version streamlines some of the advanced API's, and adds the `try` ... `catch` statement
to catch exceptions.
Breaking changes
----------------
@@ -17,7 +20,8 @@ New features
------------
* The plugins system is enhanced to support functions taking a `NativeCallContext` as the first parameter.
* `throw` statement can throw any value instead of just text strings.
* `throw` statement can now throw any value instead of just text strings.
* New `try` ... `catch` statement to catch exceptions.
Enhancements
------------