Category Archives: Error Handling

Catching vs. Bubbling Errors

When should you catch an error? When should you just bubble up an error? I was asked this question a while back and came to a rather simple answer. There are two cases when you should catch an error. In all other cases, bubble it. When the error needs to be displayed or logged, catch […]

Also posted in .NET | Tagged , | Leave a comment