It would be super-useful if the major system calls could return better error codes. I’ve go some URL problems at the moment and the current true/false for whether stuff worked is pretty rubbish. Maybe it’s an SSL certificate problem, maybe it’s a DNS problem … who knows
Perhaps input and output streams could have something like
/** Returns as much information as available about the error that occurred with the connection */ Result getError();
I could live with a platform dependant string as a result - it’s not like the errors can be solved programmatically - but they sure would help our support!