Description:
In certain situations, there will be a need to prevent the program from continuing its execution. We can do this by showing up an error message by raising exceptions. In addition to the exceptions available in python, Odoo provides a few more exceptions which include:
1. access denied
2. access error
3. cache miss
4. missing error
5. redirect warning
6. user error
7. validation error