From db29c1df919fc001eb85bf0b82c88f3249c8d9b0 Mon Sep 17 00:00:00 2001 From: Manohar Kumar P <89695803+Man07har@users.noreply.github.com> Date: Wed, 12 Oct 2022 02:38:09 +0530 Subject: [PATCH] Add program errors (#2380) * created programmer error file * Update content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/ProgrammerError.md Co-authored-by: Kamran Ahmed --- .../103-error-types/ProgrammerError.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/ProgrammerError.md diff --git a/content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/ProgrammerError.md b/content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/ProgrammerError.md new file mode 100644 index 000000000..c2d5c1357 --- /dev/null +++ b/content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/ProgrammerError.md @@ -0,0 +1,3 @@ +# Programmer Errors + +Programmer errors are bugs and should be dealt with in our code. they can always be avoided by changing some line(s) of code. Examples of such errors are; when a String is passed where an Object was expected, trying to read a property that is “undefined”, called an asynchronous function without a callback, and so on.