handle schema parsing errors on client-side (fixes #12)