anchor.diff:          Binary when is_binary(Binary) ->
               Binary;
           _ ->
  -            %% TODO VFS-7208 throw(?ERROR_BAD_VALUE_BINARY(Key))
  +            %% TODO VFS-7208 uncomment after introducing API errors to fslogic
  +            %% throw(?ERROR_BAD_VALUE_BINARY(Key))
               throw(?EINVAL)
       end.
   
  
positive.code:         binary_to_term(TokenBin)
      catch
          _:_ ->
              %% TODO VFS-7208 throw(?ERROR_BAD_VALUE_BINARY(token))
              throw(?EINVAL)
      end.
negative.code:     end.
  
  
  -spec list_whitelisted(forest(),list_opts(), [link_name()]) -> {ok, [link()], list_extended_info()} | {error, term()}.
  list_whitelisted(ParentUuid, Opts, ChildrenWhiteList) ->
      Size = sanitize_size(Opts),
      NonNegOffset = sanitize_offset(Opts, false),
      LastName = sanitize_last_name(Opts),
      FilteredChildrenWhiteList = case LastName of
          undefined ->
              ChildrenWhiteList;
          LastName ->
              lists:dropwhile(fun(Name) -> Name < LastName end, ChildrenWhiteList)
      end,
      try
          ValidLinks = lists:flatmap(fun
  