Interface ErrorHandler

    • Method Detail

      • handleError

        String handleError​(Actor source,
                           String type,
                           String msg)
        Handles the given error message with the flow that the actor belongs to, if the flow has error logging turned on. Might stop the flow as well.
        Parameters:
        source - the actor this error originated from
        type - the type of error
        msg - the error message to log
        Returns:
        null if error has been handled, otherwise the error message
        See Also:
        Flow.getLogErrors(), Flow.getErrorHandling()