first pass at converting casterrors to validation errors