diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-07 19:37:52 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-07 19:37:52 +0800 |
| commit | 9e7c0fd45e169929156bdb317b10d7bb3db65f8b (patch) | |
| tree | 94c1e0e6cafe996b7b7da8dfd6e1ff1a04539cda /policy/_policies/src/error.rs | |
| parent | 22926ce29e3f8e040ec349401aeb6a77f32eae72 (diff) | |
Add callback support to chunk_stream_with and implement stream writing
Diffstat (limited to 'policy/_policies/src/error.rs')
| -rw-r--r-- | policy/_policies/src/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/policy/_policies/src/error.rs b/policy/_policies/src/error.rs index 975749d..2b9ce1b 100644 --- a/policy/_policies/src/error.rs +++ b/policy/_policies/src/error.rs @@ -11,4 +11,7 @@ pub enum ChunkFailed { #[error("File open failed: {0}")] FileOpenFailed(std::path::PathBuf), + + #[error("Callback failed: {0}")] + CallbackFailed(String), } |
