We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c999e5 commit d007a8eCopy full SHA for d007a8e
src/error.rs
@@ -1,5 +1,7 @@
1
use thiserror::Error;
2
3
+pub type Result<T> = std::result::Result<T, TypesenseError>;
4
+
5
#[derive(Error, Debug)]
6
pub enum TypesenseError {
7
/// Config error.
@@ -44,5 +46,5 @@ pub enum TypesenseError {
44
46
45
47
/// HTTP status error.
48
#[error("HTTP status error")]
- HTTPStatusError,
49
+ HttpStatusError,
50
}
src/lib.rs
@@ -3,4 +3,4 @@
//!
//! Welcome to typesense, the rust library for the Typesense API.
-mod error;
+mod error;
0 commit comments