Plancke / hypixel-php

MIT License
115 stars 36 forks source link

Add error stuff #16

Closed MaxKorlaar closed 9 years ago

MaxKorlaar commented 9 years ago

With this new function it's easier to get the last error, and display it in your program for example.

If you know a more efficient way, be sure to show me :smiley:

I forgot to mention that I also copied curl_close before the return $errorOut because it would not get closed otherwise (correct me if I'm wrong though)

MaxKorlaar commented 9 years ago

Thanks :smiley: