mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-28 19:01:48 +08:00
fix: 修复状态码类型,引入自定义错误
This commit is contained in:
5
src/error.rs
Normal file
5
src/error.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
#[error("Bilibili api request too frequently, abort all tasks and try again later")]
|
||||
pub struct DownloadAbortError();
|
||||
Reference in New Issue
Block a user