sts-api/data/templates/errorpage.404.basic.xml.jinja

13 lines
505 B
Text
Raw Permalink Normal View History

2023-02-02 03:47:12 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<data>
<result type="{{result.type}}">
{% if result.errors %}
<errors>
{% for item in result.errors %}
<error type="{{ result.errors[item].type }}" source="{{ result.errors[item].source }}">{{ result.errors[item].remark }}</error>
{% endfor %}
</errors>
{% endif %}
</result>
<outbody type="{{ outbody.type }}" compression="{{ outbody.compression if outbody.compression else "none" }}">{{ outbody.remark }}</outbody>
</data>