Handles a single Rejection with the given partial function.
Handles several Rejections of the same type at the same time.
Handles several Rejections of the same type at the same time. The seq passed to the given function is guaranteed to be non-empty.
Convenience method for handling rejections created by the onCompleteWithBreaker directive.
Convenience method for handling rejections created by the onCompleteWithBreaker directive. Signals that the request was rejected because the supplied circuit breaker is open and requests are failing fast.
Use to customise the error response being written instead of the default ServiceUnavailable response.
Handles the special "not found" case using the given Route.