Initial commit

This commit is contained in:
DavidOnTop 2024-06-15 11:22:26 +02:00
commit bb9084dfed
No known key found for this signature in database
GPG key ID: 5D05538A45D5149F
13 changed files with 1934 additions and 0 deletions

11
src/error.rs Normal file
View 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,
}