[phobos] [D-Programming-Language/phobos] 088f0e: [trivial, but see notes] [DDoc] Throws: in std.net...

GitHub via phobos phobos at puremagic.com
Wed Jan 14 23:25:39 PST 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 088f0e074fc7ed024899ad76462f71bac7eb6208
      https://github.com/D-Programming-Language/phobos/commit/088f0e074fc7ed024899ad76462f71bac7eb6208
  Author: Ferdinand Majerech <kiithsacmp at gmail.com>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  [trivial, but see notes] [DDoc] Throws: in std.net.curl.get()

Also added a note about needing to explicitly link `libcurl`.

====
Note:
====

I only added this for `get()` because that's what I have to use right now, but I'm pretty sure other `std.net.curl` functions need `Throws:` sections as well.

Also, a detailed explanation that `CurlException on error` (e.g. possible errors) would be better, but someone knowledgeable needs to do it.


  Commit: 69d12364bc37abdf8689fea916cf69f6d1819989
      https://github.com/D-Programming-Language/phobos/commit/69d12364bc37abdf8689fea916cf69f6d1819989
  Author: Ferdinand Majerech <kiithsacmp at gmail.com>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  Link macro fix.


  Commit: e91bd42e0c0218d7ec0c8169cfd2217333ecc447
      https://github.com/D-Programming-Language/phobos/commit/e91bd42e0c0218d7ec0c8169cfd2217333ecc447
  Author: Ferdinand Majerech <kiithsacmp at gmail.com>
  Date:   2015-01-13 (Tue, 13 Jan 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  and a $(D ) around CurlException


  Commit: a032dd8cefcbe10724a4bad7dd0e3d6ba54fa5cd
      https://github.com/D-Programming-Language/phobos/commit/a032dd8cefcbe10724a4bad7dd0e3d6ba54fa5cd
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  Merge pull request #2871 from kiith-sa/patch-4

[trivial but see description][DDoc] Throws: for std.net.curl.get()


Compare: https://github.com/D-Programming-Language/phobos/compare/bdac04d95f9c...a032dd8cefcb


More information about the phobos mailing list