Add the custom message provided by HttpException to the template
@@ -5,5 +5,7 @@
</head>
<body>
{{status_code}} {{status_str}}
+ <hr/>
+ {{custom}}
</body>
</html>