Nathan.fooo c652c32575
feat File storage (#3306)
* refactor: file upload

* refactor: support upload plan

* test: add tests
2023-09-01 22:27:29 +08:00

8 lines
212 B
Rust

use crate::{ErrorCode, FlowyError};
impl std::convert::From<url::ParseError> for FlowyError {
fn from(error: url::ParseError) -> Self {
FlowyError::new(ErrorCode::InvalidURL, "").with_context(error)
}
}