{% if error is defined %}{{ error }}
{% endif %}  <<<