spacedriveapp / spacedrive

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.

Home Page:https://spacedrive.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacedrop() is missing error handling

julianbraha opened this issue · comments

Describe the bug

Currently, spacedrop() returns a Result<Uuid, ()> with several TODO comments to improve error handling:

  1. // TODO: Proper error
  2. // TODO: Proper error
  3. // TODO: Proper error type
  4. // TODO: Proper error handling

Reproduction

No response

Expected behavior

No response

Platform and versions

9.1.0
cargo 1.78.0 (54d8815d0 2024-03-26)
rustc 1.78.0 (9b00956e5 2024-04-29)

Stack trace

No response

Additional context

No response