Interface ExecutionDirectives

    • Method Detail

      • handleExceptions

        Directive<scala.runtime.BoxedUnit> handleExceptions​(ExceptionHandler handler)
        Transforms exceptions thrown during evaluation of its inner route using the given ExceptionHandler.

        Parameters:
        handler - (undocumented)
        Returns:
        (undocumented)
      • handleRejections

        Directive<scala.runtime.BoxedUnit> handleRejections​(RejectionHandler handler)
        Transforms rejections produced by its inner route using the given RejectionHandler.

        Parameters:
        handler - (undocumented)
        Returns:
        (undocumented)