Alex Rivera | Logout

Why is error handling important?

Asked 2008-12-15T11:55:32.037
14

I was given a task of write the coding guidelines for my team, and it was going great until my manager asked me to write an explanation of Why Error Handling is Important.

I know it instinctively, but how do I express this in words?

I tried to google it first but came up empty, so I now ask my fellow coding wizards.

Edit
Report

1 Answer

4

Error handling is important because it makes it easier for the end users of your code to use it correctly. Another important issue is that it makes your code easier to maintain. Error handling makes it easier to embed input specifications into the code, so you don't have to look up the design when you write and later maintain the code.

answered 2008-12-15T12:04:18.620

Your Answer