public interface RejectionError
Future[T]
or Try[T]
instances, whose failure side is supposed to trigger a route
rejection rather than an Exception that is handled by the nearest ExceptionHandler.
(Custom marshallers can of course use it as well.)Modifier and Type | Method and Description |
---|---|
Rejection |
rejection() |
Rejection rejection()