argument when calling method can also cause problems these are examples of errors of commissionwhich are specific errors associated with your code in generalyou can find these kinds of errors using debugger or by simply reading your code line by line to check for errors runtime errors can also be caused by external sources not associated with your code for examplethe user can input incorrect information that the application isn' expectingcausing an exception network error can make required resource inaccessible sometimes even the computer hardware has glitch that causes nonrepeatable application error these are all examples of errors of omissionfrom which the application might recover if your application has error-trapping code in place it' important that you consider both kinds of runtime errors -errors of commission and omission -when building your application distinguishing error types you can distinguish errors by typethat isby how they're made knowing the error types helps you understand where to look in an application for potential problems exceptions work like many other things in life for exampleyou know that electronic devices don' work without power sowhen you try to turn your television on and it doesn' do anythingyou might look to ensure that the power cord is firmly seated in the socket understanding the error types helps you locate errors fasterearlierand more consistentlyresulting in fewer misdiagnoses the best developers know that fixing errors while an application is in development is always easier than fixing it when the application is in production because users are inherently impatient and want errors fixed immediately and correctly in additionfixing an error earlier in the development cycle is always easier than fixing it when the application nears completion because less code exists to review the trick is to know where to look with this in mindpython (and most other programming languagesbreaks errors into the following typessyntactical semantic logical the following sections examine each of these error types in more detail 've arranged the sections in order of difficultystarting with the easiest to find syntactical error is generally the easiesta logical error is generally the hardest