Error codes :
Code to differenciate errors added