Interface ExceptionHandler

All Superinterfaces:
scala.Function1<Throwable,scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>>, scala.PartialFunction<Throwable,scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>>

public interface ExceptionHandler extends scala.PartialFunction<Throwable,scala.Function1<RequestContext,scala.concurrent.Future<RouteResult>>>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface scala.Function1

    scala.Function1.UnliftOps<A extends Object,B extends Object>, scala.Function1.UnliftOps$

    Nested classes/interfaces inherited from interface scala.PartialFunction

    scala.PartialFunction.ElementWiseExtractor<A extends Object,B extends Object>, scala.PartialFunction.ElementWiseExtractor$
  • Method Summary

    Modifier and Type
    Method
    Description
    "Seals" this handler by attaching a default handler as fallback if necessary.
    Creates a new ExceptionHandler which uses the given one as fallback for this one.

    Methods inherited from interface scala.Function1

    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

    Methods inherited from interface scala.PartialFunction

    andThen, andThen, applyOrElse, compose, elementWise, isDefinedAt, lift, orElse, runWith, unapply
  • Method Details

    • withFallback

      ExceptionHandler withFallback(ExceptionHandler that)
      Creates a new ExceptionHandler which uses the given one as fallback for this one.
      Parameters:
      that - (undocumented)
      Returns:
      (undocumented)
    • seal

      "Seals" this handler by attaching a default handler as fallback if necessary.
      Parameters:
      settings - (undocumented)
      Returns:
      (undocumented)