mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Classify InvalidLmdbOpenOptions as an Internal error
This commit is contained in:
parent
aff4b64265
commit
5e206ee84b
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ impl ErrorCode for MilliError<'_> {
|
|||
match error {
|
||||
// TODO: wait for spec for new error codes.
|
||||
UserError::SerdeJson(_)
|
||||
| UserError::InvalidLmdbOpenOptions
|
||||
| UserError::DocumentLimitReached
|
||||
| UserError::AccessingSoftDeletedDocument { .. }
|
||||
| UserError::UnknownInternalDocumentId { .. } => Code::Internal,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue