Add custom error fu to Swig templates
Add custom error partial to all application layouts