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