mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fix exception string content.
This commit is contained in:
parent
bd1c5a1ef1
commit
7b76a3367e
@ -201,7 +201,7 @@ example15() {
|
|||||||
try {
|
try {
|
||||||
throw "Some unexpected error.";
|
throw "Some unexpected error.";
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
print("Example15 null value causes an exception: '${e}'");
|
print("Example15 an exception: '${e}'");
|
||||||
throw e; // Re-throw
|
throw e; // Re-throw
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user