I have a back-end function which takes care of product creation. Right now, the function does its job perfectly, but it has zero error handling and I\'m trying to figure how