-
Notifications
You must be signed in to change notification settings - Fork 317
Open
Labels
A-testArea: The `tower-test` crateArea: The `tower-test` crateC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.P-mediumMedium priorityMedium priority
Description
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)
Metadata
Metadata
Assignees
Labels
A-testArea: The `tower-test` crateArea: The `tower-test` crateC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.P-mediumMedium priorityMedium priority