batch_mode_batch_triple/
errors.rs

1// ---------------- [ File: src/errors.rs ]
2crate::ix!();
3
4error_tree!{
5
6    pub enum BatchErrorProcessingError {
7        JsonParseError(JsonParseError),
8    }
9
10    pub enum FileMoveError {
11        IoError(std::io::Error),
12    }
13
14    pub enum BatchValidationError {
15        JsonParseError(JsonParseError),
16        RequestIdsMismatch {
17            index:      BatchIndex,
18            input_ids:  Option<HashSet<CustomRequestId>>,
19            output_ids: Option<HashSet<CustomRequestId>>,
20            error_ids:  Option<HashSet<CustomRequestId>>,
21        },
22    }
23}