Created
April 28, 2016 19:23
-
-
Save cbowns/d16dc0beb9cfcf6d3e019ddf06c3a8d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do { | |
try <#throwing method#> | |
} catch let error as NSError { | |
let errorString = "<#describe the error#>" | |
DDLogError("Error: \(errorString)") | |
DDLogError(error.debugDescription) | |
assert(false, errorString) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment