public IExceptionHandlerConfigurationExpression ForException(Type exception, int statusCode, ExceptionHandlerBehavior behavior = ExceptionHandlerBehavior.ClientError)
        {
            Behaviors.Add(exception, new ForExceptionBehavior()
            {
                StatusCode = statusCode, Behavior = behavior
            });

            return(this);
        }
        public IExceptionHandlerConfigurationExpression ForException <TException>(int statusCode, ExceptionHandlerBehavior behavior = ExceptionHandlerBehavior.ClientError) where TException : Exception
        {
            ForException(typeof(TException), statusCode, behavior);

            return(this);
        }