different error class is created http-status-codes package is used to replace the hardcore code express-async-errors is used to get rid of try catch block