public static void CatchArgumentOutOfRangeException(this WebApiErrorHandlingConfig config) { config.Map(new ArgumentOutOfRangeExceptionMapper()); }
public static void CatchAllArgumentExceptions(this WebApiErrorHandlingConfig config) { config.CatchArgumentException(); config.CatchArgumentNullException(); config.CatchArgumentOutOfRangeException(); }