public interface ExceptionHandler extends scala.PartialFunction<java.lang.Throwable,scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>>
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
seal(RoutingSettings settings)
"Seals" this handler by attaching a default handler as fallback if necessary.
|
ExceptionHandler |
withFallback(ExceptionHandler that)
Creates a new
ExceptionHandler which uses the given one as fallback for this one. |
$init$, andThen, andThen, applyOrElse, compose, cond, condOpt, elementWise, empty, fromFunction, isDefinedAt, lift, orElse, runWith, unapply
$init$, apply, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString, UnliftOps
ExceptionHandler withFallback(ExceptionHandler that)
ExceptionHandler
which uses the given one as fallback for this one.that
- (undocumented)ExceptionHandler seal(RoutingSettings settings)
settings
- (undocumented)