When To Throw Exceptions?
Автор: Codewrinkles
Загружено: 2024-09-15
Просмотров: 2292
When to throw excepentions and when not? That's a question that's heavily debated among software developers. However, as always in programming, things should be a little bit more nuanced. The approach to throw exceptions everywhere is as bad as the approach to never throw exceptions at all. Since there might be a lot of theoretical grey lines, in this video I walk you through 3 very practical scenarios in a REST API as an occasion to understand when to throw exceptions and when not.
Do you want to master API versioning and never break your APIs consumers? Get my "API Versioning for The Real World" book: https://leanpub.com/practical-api-ver...
#softwaredesign #softwarearchitecture #software #dotnet #restapi #exceptions #exceptionhandling #programmingtips
Content:
1. Intro: 00:00
2. Let's understand exceptions: 00:24
3. Exceptions vs validation: 06:12
4. Exceptions vs expected business process: 09:12
5. Exceptions vs core business logic: 11:44
6. Summary: 15:23
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: