fun routeByException(routerConfigurer: KotlinRouterSpec<Class<out Throwable>, ErrorMessageExceptionTypeRouter>.() -> Unit): Unit
Populate the ErrorMessageExceptionTypeRouter with options from the KotlinRouterSpec.