RailsConf 2017: The Arcane Art of Error Handling by Brad Urani

preview_player
Показать описание
RailsConf 2017: The Arcane Art of Error Handling by Brad Urani

With complexity comes errors, and unexpected errors lead to unexpected unhappiness. Join us and learn how to add contextual data to errors, design error hierarchies, take charge of control flow, create re-usable error handlers, and integrate with error reporting solutions. We'll talk about recoverable versus irrecoverable errors and discuss how and how not to use exceptions. From internationalization to background jobs, we'll cover the gamut. Regardless of your Rail proficiency, you'll learn why expecting the unexpected makes for happier developers, happier businesses and happier users.
Рекомендации по теме
Комментарии
Автор

Memes aside, this was a great, practically-useful talk. I've used similar patterns in previous jobs and it's very useful; one of those things where a little structure/context added to error handling goes a long way towards improving code quality and debugging. (UIDs on errors are a godsend…)

danschmidt