github.com/bhojpur/cache@v0.0.4/templates/error.ego (about) 1 <%! func Error(w io.Writer, err error) error %> 2 3 <!DOCTYPE html> 4 <html lang="en"> 5 <head> 6 <meta charset="utf-8"> 7 <title>Bhojpur Cache - Introspection Dashboard</title> 8 </head> 9 10 <body class="error"> 11 <div class="container"> 12 <div class="header"> 13 <h3 class="text-muted">Error</h3> 14 </div> 15 16 An error has occurred: <%= err %> 17 </div> <!-- /container --> 18 </body> 19 </html>