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
pekko.http.scaladsl.server.ExceptionHandler. |
Directive<scala.runtime.BoxedUnit> |
handleRejections(RejectionHandler handler)
Transforms rejections produced by its inner route using the given
pekko.http.scaladsl.server.RejectionHandler. |
Directive<scala.runtime.BoxedUnit> handleExceptions(ExceptionHandler handler)
pekko.http.scaladsl.server.ExceptionHandler.
handler - (undocumented)Directive<scala.runtime.BoxedUnit> handleRejections(RejectionHandler handler)
pekko.http.scaladsl.server.RejectionHandler.
handler - (undocumented)