service/mount_ops/
error.rs1use uuid::Uuid;
2
3#[derive(Debug, thiserror::Error)]
4pub enum MountOpsError {
5 #[error("Bucket not found: {0}")]
6 BucketNotFound(Uuid),
7 #[error("Invalid path: {0}")]
8 InvalidPath(String),
9 #[error("Database error: {0}")]
10 Database(String),
11 #[error("Mount error: {0}")]
12 Mount(#[from] common::prelude::MountError),
13 #[error("Share not found")]
14 ShareNotFound,
15 #[error("Crypto error: {0}")]
16 CryptoError(String),
17 #[error("Share error: {0}")]
18 ShareError(String),
19}