What type of anesthesia was used?
Was he on any meds?
You can read about domitor here and in the information it mentions it should not be used in dogs with particular health problems including liver issues
The liver does all the processing of chemicals brought into the body. So it would be impacted every time a medication is used. This site has some good info on liver problems in dogs
It may be there was a liver issue starting and the meds impacted him.
If your vet did not run blood work to check for liver function before starting treatment there is no way to know if there was a disease already starting.
The good news is that the liver can heal itself unlike the kidneys so depending on what is wrong it can possibly be treated.
You may need to get an ultrasound of the liver, or possibly a biopsy to find out what is going on and if treatment can help.
Hope this helps you!