http://stackoverflow.com/a/1848900/2740455 To take your side, though, there's no reason other than laziness not to give a human-readable error message when it can be reported to end-users.