Enum meilisearch_sdk::errors::ErrorType [−][src]
#[non_exhaustive]
pub enum ErrorType {
InvalidRequest,
Internal,
Authentication,
}Expand description
The type of error that was encountered.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidRequest
The submitted request was invalid.
Internal
The MeiliSearch instance encountered an internal error.
Authentication
Authentication was either incorrect or missing.
Implementations
Converts the error type to the string representation returned by MeiliSearch.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorType
impl UnwindSafe for ErrorType
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
