routeByException

fun routeByException(routerConfigurer: KotlinRouterSpec<Class<out Throwable>, ErrorMessageExceptionTypeRouter>.() -> Unit)

Populate the ErrorMessageExceptionTypeRouter with options from the KotlinRouterSpec.