MystenLabs / walrus-sites

Walrus Sites: Decentralized Websites using Sui and Walrus.
https://docs.walrus.site/walrus-sites/intro.html
Apache License 2.0
17 stars 16 forks source link

[Feature]: Create html template to render for different HTTP errors #122

Open Tzal3x opened 1 month ago

Tzal3x commented 1 month ago

Description

Whenever there is an HTTP error returned to the user, it should be rendered as it's done with Response404.

Of course the Response404 does not cover all errors, so we must generalise this.

Related comment: https://github.com/MystenLabs/walrus-sites/pull/120#discussion_r1686154075

Component

portal

Code of Conduct