simplify the error handling of the sort syntax for meilisearch

This commit is contained in:
Tamo 2021-09-27 19:07:22 +02:00
parent 4c09f6838f
commit c7cb816ae1
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
3 changed files with 67 additions and 15 deletions

View file

@ -25,7 +25,7 @@ use fxhash::{FxHasher32, FxHasher64};
pub use grenad::CompressionType;
use serde_json::{Map, Value};
pub use self::asc_desc::{AscDesc, AscDescError, Member};
pub use self::asc_desc::{AscDesc, AscDescError, Member, SortError};
pub use self::criterion::{default_criteria, Criterion, CriterionError};
pub use self::error::{
Error, FieldIdMapMissingEntry, InternalError, SerializationError, UserError,