1
0
mirror of https://github.com/actix/examples synced 2025-06-29 18:24:57 +02:00

Demonstrate how to render error pages using templates.

This commit is contained in:
Pieter Frenssen
2020-05-19 18:21:39 +03:00
parent bc6f614f78
commit 986614d698
8 changed files with 128 additions and 4 deletions

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{{error}}</title>
</head>
<body>
<h1>{{status_code}} {{error}}</h1>
</body>
</html>