utils.
errorResp
Takes an error that has been caught and returns the details as a string
discountAverage
find_class