Result Pattern

Previously I have always generated custom exceptions when I know that the state of the system will causes errors when running. Null checking method parameters at the start of a method being a simple example of this. I threw them up to be dealt with, or handled them in the catch locally. However recently I… Continue reading Result Pattern