aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-02-10 06:54:25 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2024-02-10 06:54:25 +0000
commit88fa09755ff31b39b0454f0da58bc41a90263e89 (patch)
tree31e91e27324366bbea20b4af2a17ec10f73322e9 /src/error.rs
parent205a71efa9f60938c86d57bba07f6d33b21790a2 (diff)
downloadblossom-88fa09755ff31b39b0454f0da58bc41a90263e89.tar.gz
blossom-88fa09755ff31b39b0454f0da58bc41a90263e89.tar.bz2
blossom-88fa09755ff31b39b0454f0da58bc41a90263e89.zip
add initial localisation
Diffstat (limited to '')
-rw-r--r--src/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 611ce79..adaf77f 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -56,6 +56,7 @@ impl ResponseError for BlossomError {
Self: std::error::Error + Send + Sync + 'static,
{
templates::Error {
+ title: self.to_string(),
status: self.status(),
message: self.to_string(),
}