Handle inner validation errors

Fixes #85