review the filters errors

This commit is contained in:
Tamo
2025-09-17 16:26:24 +02:00
parent 8306c2b89c
commit 501e3816a8
4 changed files with 12 additions and 11 deletions

View File

@ -539,6 +539,7 @@ impl ErrorCode for milli::Error {
| cellulite::Error::CannotConvertLineToCell(_, _, _) => Code::Internal,
cellulite::Error::InvalidGeoJson(_) => Code::InvalidDocumentGeojsonField,
},
UserError::MalformedGeojson(_) => Code::InvalidDocumentGeojsonField,
}
}
}