Added more error codes and also display error status on tooltip