fix: mark error types with Send and Sync
@@ -212,11 +212,11 @@ pub enum ParseRequestError {
/// The request's syntax was invalid.
#[error("Invalid request: {0}")]
- InvalidRequest(Box<dyn std::error::Error>),
+ InvalidRequest(Box<dyn std::error::Error + Send + Sync>),
/// The request's files map was invalid.
#[error("Invalid files map: {0}")]
- InvalidFilesMap(Box<dyn std::error::Error>),
+ InvalidFilesMap(Box<dyn std::error::Error + Send + Sync>),
/// The request's multipart data was invalid.
#[error("Invalid multipart data")]
