Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fail better — Presenting errors in Cocoa

Fail better — Presenting errors in Cocoa

It's OK for software to fail — but it should display helpful errors. And the "helpful" part is not optional.

-presentError: is a nice way to build powerful mechanisms for presenting helpful errors in Cocoa applications.

The "Demo" part is available on GitHub: github.com/kemenaran/ios-presentError . A good implementation of -presentError: on iOS is available there: github.com/hectr/ErrorKit

Pierre de La Morinerie

April 11, 2013
Tweet

More Decks by Pierre de La Morinerie

Other Decks in Programming

Transcript

  1. Fail better CocoaHeads Paris “Ever tried. Ever failed. No matter.

    Try Again. Fail again. Fail better.” Samuel Beckett