Package akka.http.scaladsl.server
Class ExceptionHandler$
java.lang.Object
akka.http.scaladsl.server.ExceptionHandler$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ExceptionHandler$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(scala.PartialFunction<Throwable, scala.Function1<RequestContext, scala.concurrent.Future<RouteResult>>> pf) seal
(ExceptionHandler handler, RoutingSettings settings) Creates a sealed ExceptionHandler from the given one.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ExceptionHandler$
public ExceptionHandler$()
-
-
Method Details
-
ErrorMessageTemplate
-
apply
public ExceptionHandler apply(scala.PartialFunction<Throwable, scala.Function1<RequestContext, scala.concurrent.Future<RouteResult>>> pf) -
seal
Creates a sealed ExceptionHandler from the given one. Returns the default handler if the given one isnull
.- Parameters:
handler
- (undocumented)settings
- (undocumented)- Returns:
- (undocumented)
-