Updated Error handling (markdown)

Bartłomiej Przemysław Pluta
2020-04-01 21:15:07 +02:00
parent ce06b4b130
commit ac87b89839

@@ -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. and Execution Error is raised with message passed to `throw` statement.
Example: Example:
``` ```php
function divide(a: int, b: int) { function divide(a: int, b: int) {
if (b == 0) { if (b == 0) {
throw "You are trying to divide by 0!"; throw "You are trying to divide by 0!";