public interface ExecutionDirectives
Modifier and Type | Method and Description |
---|---|
Directive<scala.runtime.BoxedUnit> |
handleExceptions(ExceptionHandler handler)
Transforms exceptions thrown during evaluation of its inner route using the given
ExceptionHandler . |
Directive<scala.runtime.BoxedUnit> |
handleRejections(RejectionHandler handler)
Transforms rejections produced by its inner route using the given
RejectionHandler . |
Directive<scala.runtime.BoxedUnit> handleExceptions(ExceptionHandler handler)
ExceptionHandler
.
handler
- (undocumented)Directive<scala.runtime.BoxedUnit> handleRejections(RejectionHandler handler)
RejectionHandler
.
handler
- (undocumented)