# Wishlist: URL error reporting

**URL:** <https://forum.juce.com/t/wishlist-url-error-reporting/13968>\
**Category:** General JUCE discussion\
**Created:** [December 2, 2014, 5:48pm UTC](https://forum.juce.com/t/wishlist-url-error-reporting/13968 "2014-12-02T17:48:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [December 2, 2014, 5:48pm UTC](https://forum.juce.com/t/wishlist-url-error-reporting/13968/1 "2014-12-02T17:48:37Z")

</div>

URL functions to return Result instead of bool and information on what actually went wrong (timeout, no-port, server error code...).

---

<div class="post-metadata">

**Author:** ![jcyuan](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@jcyuan](https://forum.juce.com/u/jcyuan)\
**Post date:** [December 8, 2014, 2:16am UTC](https://forum.juce.com/t/wishlist-url-error-reporting/13968/2 "2014-12-08T02:16:57Z")

</div>

url.createInputStream

the last parameter of this API indicates the returned http status, and if this API returns nullptr, it means the URL has a wrong format that the server is not reachable somereason.

&nbsp;

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 8, 2014, 9:22am UTC](https://forum.juce.com/t/wishlist-url-error-reporting/13968/3 "2014-12-08T09:22:35Z")

</div>

It's a good request - there are lots of methods such as that one which I wrote before the Result class existed, and I've been gradually updating them from time to time. (Updating things does generally mean a breaking change though)

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [June 7, 2016, 8:48am UTC](https://forum.juce.com/t/wishlist-url-error-reporting/13968/4 "2016-06-07T08:48:33Z")

</div>

Bump. Going to be doing some HTTPS intensive stuff for a project … would be super-duper-great to have error codes back from the interweb functions… 🙂
