Skip to content

Commit

Permalink
fixes "inifinite" typo in Exceptions tutorial.
Browse files Browse the repository at this point in the history
  • Loading branch information
Step Christopher committed Jul 8, 2015
1 parent fc386ae commit a5d541f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/expressions/exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The callE() will always be excuted. If callB() returns true then the sequence ex

__Do I have to have an else error handler to have a then block?__ No. You can have a try-then block without an else if you like.

__Will my then block really always be executed, even if I return inside the try?__ Yes, your `then` expression will __always__ be executed when the try block is complete. The only way it won't be is if the try never completes (due to an inifinite loop), the machine is powered off or the process is killed (and then, maybe).
__Will my then block really always be executed, even if I return inside the try?__ Yes, your `then` expression will __always__ be executed when the try block is complete. The only way it won't be is if the try never completes (due to an infinite loop), the machine is powered off or the process is killed (and then, maybe).

# Language constructs that can raise errors

Expand Down

0 comments on commit a5d541f

Please sign in to comment.