#batch-mode #system #file #creation #batch-error

batch-mode-batch-error

contains error types for the batch-mode system

3 releases

Uses new Rust 2024

0.1.4 Nov 30, 2025
0.1.2 Jul 13, 2025
0.1.1 Mar 31, 2025

#4 in #batch-mode

Download history 220/week @ 2025-12-30 107/week @ 2026-01-06 179/week @ 2026-01-13 225/week @ 2026-01-20 283/week @ 2026-01-27 246/week @ 2026-02-03 117/week @ 2026-02-10 224/week @ 2026-02-17 237/week @ 2026-02-24 136/week @ 2026-03-03 184/week @ 2026-03-10 298/week @ 2026-03-17 191/week @ 2026-03-24 188/week @ 2026-03-31 178/week @ 2026-04-07 259/week @ 2026-04-14

900 downloads per month
Used in 107 crates (via language-model-token-expa…)

MIT license

440KB
7K SLoC

this crate contains common errors for the batch-mode system.

// ---------------- [ File: src/batch_error.rs ]
crate::ix!();

error_tree!{

    pub enum ErrorWritingBatchExpansionErrorFile {
        IoError(std::io::Error),
    }

    pub enum BatchError {
        FileMoveError(FileMoveError),
        CreationError(BatchCreationError),
        MetadataError(BatchMetadataError),
        ReconciliationError(BatchReconciliationError),
        ProcessingError(BatchProcessingError),
        DownloadError(BatchDownloadError),
        BatchValidationError(BatchValidationError),
    }

    pub enum BatchCreationError {
        InputCreationError(BatchInputCreationError),
        // Other batch creation errors
    }
}

Dependencies

~28–51MB
~702K SLoC