A reminder on error handling strategies importance

added by DotNetKicks
4/13/2020 4:05:15 PM

265 Views

When you have error code model for returning errors, you are going to be fairly limited in how you can report actual issues. Here is a good example, taken from the ZStd source code: You can see that the resulting error is the same, but we have three very different errors.


0 comments