Rethrow parse errors with relevant name.
Implement specs for parse errors in non-generated statements.
Update assertion to allow for dynamic error names.