mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 17:24:29 +02:00
Fix exception string content.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user