#35 detailed error messages

Here the error should be thrown so that parsing stops.