summaryrefslogtreecommitdiff
path: root/src/ui/handlers
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-11-25 21:02:25 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-11-25 21:02:25 -0500
commit664e3beba053aee50fc6b3cdcc6ee0dfe5e0fe1f (patch)
tree096b997d56959dd88d099f4f96a383daa4dbc39a /src/ui/handlers
parent91c33501a315abe04aeed54aa27388ce0ad241ce (diff)
parent33601ef703a640b57e5bd0bf7dbd6d7ffa7377bf (diff)
Merge branch 'house-of-failed'
Diffstat (limited to 'src/ui/handlers')
-rw-r--r--src/ui/handlers/conversation.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/handlers/conversation.rs b/src/ui/handlers/conversation.rs
index 2ff090c..102efc6 100644
--- a/src/ui/handlers/conversation.rs
+++ b/src/ui/handlers/conversation.rs
@@ -37,11 +37,11 @@ pub enum Error {
Internal(Internal),
}
-impl From<app::Error> for Error {
- fn from(error: app::Error) -> Self {
+impl From<app::GetError> for Error {
+ fn from(error: app::GetError) -> Self {
match error {
- app::Error::NotFound(_) | app::Error::Deleted(_) => Self::NotFound,
- other => Self::Internal(other.into()),
+ app::GetError::NotFound(_) | app::GetError::Deleted(_) => Self::NotFound,
+ app::GetError::Failed(_) => Self::Internal(error.into()),
}
}
}