Allow format checkers to raise custom ValidationErrors

Well, this is my simplest solution for #70. Let me know if you have some other idea in mind.