0

What are differences between error and exception in any programming language???

Please take an action...

3rd Nov 2019, 9:06 AM
Satyendra Patel
Satyendra Patel - avatar
4 Answers
+ 2
Both are errors. Programming languages have exception handling features to easily debug your program. You might want to search the definition of "compilet error" and "run-time error".
3rd Nov 2019, 9:41 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
+ 2
In python, an error will stop the code at that point. An exception allows you to handle the error in such a way that the code may continue.
3rd Nov 2019, 9:45 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Errors occur during compile time but exceptions occur at run time.
3rd Nov 2019, 10:13 AM
Avinesh
Avinesh - avatar
+ 1
Error not handled by programmer while exception may be done through try catch statement .
5th Nov 2019, 1:50 AM
Satyendra Patel
Satyendra Patel - avatar