mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-30 03:10:45 +02:00
chore: rename get_id to id, add doc comments, pre-allocate format_history
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
use super::config::AppConfig;
|
||||
|
||||
/// Errors raised when validating ingestion payloads against configured limits.
|
||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||
pub enum IngestValidationError {
|
||||
/// The payload exceeds a configured size limit (content, context, or category).
|
||||
PayloadTooLarge(String),
|
||||
/// The request violates a non-size constraint (e.g., too many files).
|
||||
BadRequest(String),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user