-<!doctype html>
-<html xmlns:th="http://www.thymeleaf.org" th:replace="~{layout :: pagelayout(~{:: title}, ~{:: h1}, ~{:: table.card-text})}">
- <head>
- <title th:text="|${status}: ${error}">XXX: ERROR</title>
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- </head>
- <body>
- <h1 th:text="|${status}: ${error}">XXX: ERROR</h1>
- <table class="card-text table">
- <tbody>
- <tr class="border-top-0">
- <th scope="row">Status</th>
- <td th:text="${status}">ERROR.STATUS</td>
- </tr>
- <tr>
- <th scope="row">Error</th>
- <td th:text="${error}">ERROR.ERROR</td>
- </tr>
- <tr th:if="!${#strings.isEmpty(message)}">
- <th scope="row">Message</th>
- <td th:text="${message}">ERROR.MESSAGE</td>
- </tr>
- <tr th:if="!${#strings.isEmpty(requestId)}">
- <th class="text-nowrap" scope="row">Request-ID</th>
- <td th:text="${requestId}">ERROR.REQUEST_ID</td>
- </tr>
- <tr>
- <th scope="row">Timstamp</th>
- <td th:text="${timestamp}">ERROR.TIMESTAMP</td>
- </tr>
- <tr th:if="!${#strings.isEmpty(path)}">
- <th scope="row">Path</th>
- <td th:text="${path}">ERROR.PATH</td>
- </tr>
- <!--/**-->
- <tr th:if="!${#strings.isEmpty(trace)}">
- <th scope="row">Trace</th>
- <td>
- <div class="overflow-hidden">
- <pre class="overflow-hidden" th:text="${trace}">ERROR.TRACE</pre>
- </div>
- </td>
- </tr>
- <!--**/-->
- </tbody>
- </table>
- <p><a href="#" th:href="@{/}" class="btn btn-primary">Back to HOME</a>
- </div>
- </body>
-</html>