We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df0af3 commit bb69d5dCopy full SHA for bb69d5d
content/documentation/control-flow.md
@@ -172,16 +172,16 @@ All expressions are evaluated and if no exception is thrown the value of the las
172
(try) # evaluates to nil
173
174
(try
175
- (throw (php/new Exception))
176
- (catch Exception e "error")) # evaluates to "error"
+ (throw (php/new \Exception))
+ (catch \Exception e "error")) # evaluates to "error"
177
178
179
(+ 1 1)
180
(finally (print "test"))) # Evaluates to 2 and prints "test"
181
182
183
184
- (catch Exception e "error")
+ (catch \Exception e "error")
185
(finally (print "test"))) # evaluates to "error" and prints "test"
186
```
187
0 commit comments