{{extend 'layout.html'}}

Try... except

{{try:}}

a={{=1/0}}

{{except:}} infinity {{pass}}