Initial commit
This commit is contained in:
commit
bb9084dfed
13 changed files with 1934 additions and 0 deletions
11
src/error.rs
Normal file
11
src/error.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use thiserror::Error;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum ExtractionError {
|
||||
#[error("axum extracting information failed")]
|
||||
AxumError(String),
|
||||
#[error("leptos_reactive error occured")]
|
||||
LeptosError(String),
|
||||
#[error("the body of the request has been extracted more then once this isn't allowed")]
|
||||
MultipleBodyExtractor,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue