Functional Principles - Result class

 




For example if a method signature was returning an int, the result class allows us to now return an error if something goes wrong.

The Result Class










Comments

Popular posts from this blog

Abstraction and Encapsulation

DDD and EF Core: Preserving encapsulation

Functional Principles - Exceptions