#{if play.mode.name() == 'DEV'} #{500 exception /} #{/if} #{else}

Error: ${exception?.message}

#{if exception instanceof play.exceptions.PlayException}

This exception has been logged with id ${exception.id}.

#{/if} #{/else}