Currently in tower-test, the Mock service's error type is fixed to Box<dyn Error + Send + Sync>.
I guess it's possible to work around it at the moment by creating a wrapper Service that does boxing/downcasting of errors, but are you open to the idea of having the error type be configurable? (it could even be a type param that defaults to Box<dyn Error + Send + Sync> if unspecified)
Currently in
tower-test, theMockservice's error type is fixed toBox<dyn Error + Send + Sync>.I guess it's possible to work around it at the moment by creating a wrapper
Servicethat does boxing/downcasting of errors, but are you open to the idea of having the error type be configurable? (it could even be a type param that defaults toBox<dyn Error + Send + Sync>if unspecified)