Bubble up validation errors

Fixes #1259