Struct meilisearch_sdk::errors::MeilisearchError
source · pub struct MeilisearchError {
pub error_message: String,
pub error_code: ErrorCode,
pub error_type: ErrorType,
pub error_link: String,
}Fields§
§error_message: StringThe human readable error message
error_code: ErrorCodeThe error code of the error. Officially documented at https://docs.meilisearch.com/errors.
error_type: ErrorTypeThe type of error (invalid request, internal error, or authentication error)
error_link: StringA link to the Meilisearch documentation for an error.
Trait Implementations§
source§impl Clone for MeilisearchError
impl Clone for MeilisearchError
source§fn clone(&self) -> MeilisearchError
fn clone(&self) -> MeilisearchError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for MeilisearchError
impl Debug for MeilisearchError
source§impl<'de> Deserialize<'de> for MeilisearchError
impl<'de> Deserialize<'de> for MeilisearchError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for MeilisearchError
impl Display for MeilisearchError
source§impl Error for MeilisearchError
impl Error for MeilisearchError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<MeilisearchError> for Error
impl From<MeilisearchError> for Error
source§fn from(source: MeilisearchError) -> Self
fn from(source: MeilisearchError) -> Self
Converts to this type from the input type.