Exceptions/Catch an exception thrown in a nested call: Difference between revisions
Content added Content deleted
(added swift) |
|||
Line 2,367: | Line 2,367: | ||
<pre> |
<pre> |
||
Function foo caught exception U0 |
Function foo caught exception U0 |
||
fatal error: Error raised at top level: MyApp.MyException.U1: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.45/src/swift/stdlib/public/core/ErrorType.swift, line 47 |
|||
error caught in main() |
|||
</pre> |
</pre> |
||