mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
comments
This commit is contained in:
1 parent
ba6cdc830e
commit
5a84cb0bd2
1 file changed
+3
+3
@@ -92,14 +92,17 @@ pub enum FrontendFailureCategory {
|
||||
RuleBansGeneratedContent,
|
||||
|
||||
/// The uploaded file exceeds the maximum allowed size for this model.
|
||||
/// We map fal WebhookErrorType::FileTooLarge to this.
|
||||
#[serde(rename = "filesize_too_large")]
|
||||
FilesizeTooLarge,
|
||||
|
||||
/// The uploaded image dimensions are below the minimum required by the model.
|
||||
/// We map fal WebhookErrorType::ImageTooSmall to this.
|
||||
#[serde(rename = "image_dimensions_too_small")]
|
||||
ImageDimensionsTooSmall,
|
||||
|
||||
/// The uploaded image dimensions exceed the maximum allowed by the model.
|
||||
/// We map fal WebhookErrorType::ImageTooLarge to this.
|
||||
#[serde(rename = "image_dimensions_too_large")]
|
||||
ImageDimensionsTooLarge,
|
||||
|
||||
|
||||
Reference in new issue
Block a user