include function fails with 'Unable to load template" error if the loaded template can't be parsed

Calling the include function on a template that can't be parsed successfully emits a loading error stating:

Unable to load template ...

The error should be a parsing error. Emitting a loading error is confusing and prevents the developer to understand what the actual error is and to fix it.