Method OnException<TException>()
Defines an exception handler of the configuration: every setting and every step an OnException of a
builder has (redeliveries, OnWhen, Handled, the handler's steps). For a failure of a route the
handler nearest to the exception type wins, wherever it is declared; the route's own handler wins a tie, and
the configuration's handler is used instead of a handler of the same type on the route's builder.
public OnExceptionDefinition OnException<TException>() where TException : Exception