what is the errors

I would of told you sooner, but I had to call my mom first.

The error in the sentence is the use of "would of" instead of "would have." The correct sentence should be: "I would have told you sooner, but I had to call my mom first."