We’ll compare some code written with Either with similar code written using Exceptions and see how they are the same and how they differ.
Preferable you start a ZIO application with just one
But when you’re migrating an old application to ZIO, you likely have multiple places to do
We will investigate how to deal with the environment (layers).
We’ll look at some examples of different kinds of exceptions and how we can deal with them in ZIO.