Programmer user exception
Developer develops software or app and client uses it
Types of errors
1. syntax error
2. Logical error
[Link] error
a developer has to give error free software to user
[Link] error: developer is responsible for syntax error.
2. Logical error: These errors depicts aws in the logic of program The program might be using
wrong formula or the design of the program is wrong itself . Logical errors are not detected either
by python compiler or Pam. The programmer is solely responsible for them.
3. Runtime error: The reason could be giving invalid input
File not available, no connection, etc.
• Runtime errors are caused due to mishandling a software at client side
• Due to runtime error program crashes stops suddenly
• User is responsible for runtime error
• But when developer gives robust idea it can be handled means Exception handling given in
program.
How to handle the runtime error?
Example:
A printer :
When the manufacturer gives any property on which the printer will blinks if paper is not
inserted.
It blinks because it needs some input means it is raising an exception.
Like wise also a developer can raise an exception asking user to check if there is anything
missing.
fl