mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 19:22:40 +00:00
Merge pull request #1978 from def-/manual-exceptions
Clarify documentation about "except clauses"
This commit is contained in:
@@ -83,7 +83,7 @@ raised:
|
||||
|
||||
Note that ``getCurrentException`` always returns a ``ref Exception``
|
||||
type. If a variable of the proper type is needed (in the example
|
||||
above, ``IOError``), one must use an explicit cast:
|
||||
above, ``IOError``), one must convert it explicitly:
|
||||
|
||||
.. code-block:: nim
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user