mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Introduce a new internal error type to categorize panics
This commit is contained in:
parent
0c7003c5df
commit
96cc5319c8
2 changed files with 12 additions and 0 deletions
|
@ -49,6 +49,8 @@ pub enum InternalError {
|
|||
InvalidDatabaseTyping,
|
||||
#[error(transparent)]
|
||||
RayonThreadPool(#[from] ThreadPoolBuildError),
|
||||
#[error("A panic occured. Read the logs to find more information about it.")]
|
||||
PanicInThreadPool,
|
||||
#[error(transparent)]
|
||||
SerdeJson(#[from] serde_json::Error),
|
||||
#[error(transparent)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue