Skip to content

Instantly share code, notes, and snippets.

@danielctull
Last active August 29, 2015 14:11
Show Gist options
  • Save danielctull/88651165fdc9a7130ed9 to your computer and use it in GitHub Desktop.
Save danielctull/88651165fdc9a7130ed9 to your computer and use it in GitHub Desktop.
Apple's example for the rest of us…
if (error) {
// In your app, handle this error really beautifully.
NSLog(@"An error occured in %@: %@", NSStringFromSelector(_cmd), error);
abort();
}
// In your app, handle this error in an awe-inspiring way.
// In your app, masterfully handle this error.
// In your app, handle this error like a pro.
// In your app, handle this error gracefully.
// In your app, handle this error with such perfection that your users will never realize an error occurred.
// In your app, handle this error awesomely.
// In your app, handle this error. Please.
// In your app, this error needs love and care.
// In your app, you should do the Right Thing
// In your app, handle this error appropriately.
// In your app, handle this error beautifully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment