[Swift-user] Swift error handling
hategan at mcs.anl.gov
Mon Dec 17 18:24:20 CST 2012
There is no swift script level error handling at this time.
The swift runtime may (depending on settings) retry failed applications.
There is always the possibility of wrapping an application in a shell
script that deals with errors from the actual application.
As a side note, the FileNotFound error, should not be immediately
visible to the user, but it may appear in the logs. If that's not the
case, it's probably a bug.
On Mon, 2012-12-17 at 16:15 -0800, Thomas wrote:
> I noticed that when a bash script that is being called from a Swift
> script fails (returns error 1), the Swift script will fail and give a
> File Not Found error. Is there an error handling mechanism in Swift
> that lets us know if the bash script is failing and lets us handle it
> in the Swift script?
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
More information about the Swift-user