Course of Exceptions vs Errors [Domain Modeling]

Standard
Javier FerrerRafa Gómez

By Javier Ferrer y Rafa Gómez Software Design and Architecture y Backend

Learn to model the errors that occur in your application in a maintainable way.

💸 First lesson available without registration 💸

The most common way we manage errors is by using exceptions.

But... should exceptions only be for exceptional cases? Are we abusing them?

There are other alternatives to manage errors such as Either or Result, which come from a more functional world. Here the question is: is all the complexity they add worth it?

In this course, we resolve those doubts, in addition to seeing (among other things):

  • 🔥 Why to avoid generic Exceptions: And how to model them.
  • 🔜 From errors to HTTP response codes: The easiest way to make this transformation.
  • 🥊 Error modeling comparison: The final decision.

Related courses

Pay according to your needs

lite (only monthly)

19 €
per month

standard

24,92 €
Discount vs monthly of 49 €
Annual payment of 299
per month
  • Main catalog to master writing maintainable, scalable, and testable code
  • Receive job offers verified by Codely
  • Company invoice
  • Accumulate renewal discounts
Save 50 €

premium

37,42 €
Discount vs monthly of 139 €
Annual payment of 449
per month
  • Exclusive AI courses to keep you always up to date
  • Early access to new courses
  • Discount on workshops
  • Receive job offers verified by Codely
  • Company invoice
  • Accumulate renewal discounts
Course of Exceptions vs Errors [Domain Modeling] ﹤🍍﹥ Codely