/// <summary>
        /// Configures an either REST exception with the necessary processors.
        /// </summary>
        /// <typeparam name="TResult">Type of the result that comes in the "Right" case</typeparam>
        /// <typeparam name="TSerializer">Type of the serializer</typeparam>
        /// <param name="eitherResultadoProcessor">Either processor to configure</param>
        /// <returns>Processor configured</returns>
        public static EitherRestErrorProcessor <TResult, TSerializer> Default <TResult, TSerializer>(
            this EitherRestErrorProcessor <TResult, TSerializer> eitherResultadoProcessor)
            where TSerializer : ISerializer
        {
            eitherResultadoProcessor.Default <RestBusinessError, TResult, RestHttpError, RestException, TSerializer>();

            return(eitherResultadoProcessor);
        }
        /// <summary>
        /// Configures an either REST exception with the necessary processors.
        /// </summary>
        /// <typeparam name="TRestBusinessError">Type of the "Left" case that represents the business error</typeparam>
        /// <typeparam name="TResult">Type of the result that comes in the "Right" case</typeparam>
        /// <typeparam name="TRestHttpError">Type of the REST HTTP error</typeparam>
        /// <typeparam name="TRestException">Type of the exception</typeparam>
        /// <typeparam name="TSerializer">Type of the serializer</typeparam>
        /// <param name="eitherResultadoProcessor">Either processor to configure</param>
        /// <returns>Processor configured</returns>
        public static EitherRestErrorProcessor <TRestBusinessError, TResult, TRestHttpError, TSerializer> Default <TRestBusinessError, TResult, TRestHttpError, TRestException, TSerializer>(
            this EitherRestErrorProcessor <TRestBusinessError, TResult, TRestHttpError, TSerializer> eitherResultadoProcessor)
            where TSerializer : ISerializer
            where TRestBusinessError : RestBusinessError <TRestBusinessError, TRestHttpError>
            where TRestHttpError : RestHttpError <TRestBusinessError, TRestHttpError>
            where TRestException : RestException <TRestBusinessError, TRestHttpError>
        {
            eitherResultadoProcessor.Default <TRestBusinessError, TResult, TRestHttpError, TRestException, TSerializer>(new RestErrorExceptionProvider <TRestBusinessError, TRestHttpError, TRestException>(),
                                                                                                                        new RestErrorConverterProvider <TRestBusinessError, TRestHttpError>());

            return(eitherResultadoProcessor);
        }