Stop Throwing Exceptions: Bringing Rust-Style Error Handling to C#

Introduction As C# developers, we have all been there. You are calling a method like GetUser(id), and you wonder: does it return null if the user is not found? Or does it throw a NotFoundException? Or perhaps even and InvalidOperationException?…














