anchor.diff:                      throw(?EINVAL)
               end;
           _ ->
  -            %% TODO VFS-7208 throw(?ERROR_BAD_VALUE_INTEGER(size))
  +            %% TODO VFS-7208 uncomment after introducing API errors to fslogic
  +            %% throw(?ERROR_BAD_VALUE_INTEGER(size))
               throw(?EINVAL)
       end.
   
  
positive.code:         Binary when is_binary(Binary) ->
              Binary;
          _ ->
              %% TODO VFS-7208 throw(?ERROR_BAD_VALUE_BINARY(Key))
              throw(?EINVAL)
      end.
  
  
negative.code:             ?DEFAULT_LS_BATCH_SIZE;
          Size when is_integer(Size) andalso Size >= 0 ->
              Size;
          %% TODO VFS-7208 uncomment after introducing API errors to fslogic
          %% Size when is_integer(Size) ->
          %%     throw(?ERROR_BAD_VALUE_TOO_LOW(size, 0));
          _ ->
              %% TODO VFS-7208 uncomment after introducing API errors to fslogic
              %% throw(?ERROR_BAD_VALUE_INTEGER(size))
              throw(?EINVAL)
      end.
  
  