So true...we are all only human. Mistakes will happen. The important thing is how you handle your mistakes.
If you handle your mistakes in a professional manner (confess right away) and take full responsibility (no excuses) then hopefully your client will respect you for your honesty and integrity.
Offering compensation or attempting to make the situation right is also a very good step to preserving the client relationship.