blob: 7cb39b68fab4b00652db9451edfa4336e9ca4cd8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
use lampada::error::ConnectionError;
use crate::files::FileStore;
use super::ClientLogic;
pub async fn handle_connection_error<Fs: FileStore + Clone>(
logic: ClientLogic<Fs>,
error: ConnectionError,
) {
logic.handle_error(error.into()).await;
}
|