Why is error handling important?

后端 未结 6 1252
北荒
北荒 2021-02-13 23:17

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 Importan

6条回答
  •  离开以前
    2021-02-13 23:52

    Another huge reason that error handling is so important is security! Certain types of errors, if not handled properly can leave a program and the underlying operating system in a vulnerable state. Handling errors must be a deliberate and well thought out process because even when handled gracefully, errors can write to log files or splash error messages to the screen that supply potential attackers with very valuable information that they can use later to take advantage of specific vulnerabilities.

提交回复
热议问题