This is a continuation of the topic of error handling. We’ll discuss what an exceptional situation in code actually is and see some examples of it.
In this post, we’ll look at some practical examples of error handling. We will see whether it is better to use exceptions or the Result class to deal with errors.
Today’s topic is about interfaces for repositories. Should you introduce them? Or maybe it’s better to use repositories as is? Let’s see.