bcns-gameDistributionSystem/site/templates/error.html
odecif ad3fd6a195 JSONEncoder and manual
Focus on remving deprecated flas.JSONEncoder and replacing it with
json.JSONEncoder.

* Exception handling when API is not accessible [fix #25]
* flask.JSONEncoder deprecated [fix #24]
* Show manual (if present) [fix #23]
* Small touch-ups
2023-09-19 00:47:31 +02:00

18 lines
363 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>BCNS</title>
</head>
<body>
{% extends "navigation.html" %}
{% block content %}
<h1>{{lang_error_body_header}}</h1>
{% if error_object %}
<p class="error">Something went wrong</p>
<p>{{error_object.error_type}}</p>
<p>{{error_object.error_message}}</p>
{% endif %}
{% endblock %}
</body>
</html>