From ac87b8983932394bb7c4239685115d57db59becc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Przemys=C5=82aw=20Pluta?= Date: Wed, 1 Apr 2020 21:15:07 +0200 Subject: [PATCH] Updated Error handling (markdown) --- Error-handling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Error-handling.md b/Error-handling.md index 0fb169e..23ec4a8 100644 --- a/Error-handling.md +++ b/Error-handling.md @@ -5,7 +5,7 @@ When control flow meet `throw` statement, program execution is immediately inter and Execution Error is raised with message passed to `throw` statement. Example: -``` +```php function divide(a: int, b: int) { if (b == 0) { throw "You are trying to divide by 0!";