Closed DavydeVries closed 8 years ago
Sorry for not mentioning it in the issue, but I was already working on it.
The messagebag concept is good, it's kinda what I also introduced. But I'm not sure about creating our own errors. I'd rather just convey the ones we get from Habbo straight to the user.
An example of this is that a 404 'not-found' can also mean the Habbo is banned. Which is something we can not detect with this library, unfortunately.
MessageBag for HabboParser based on http_code. Because issue: #7 HabboParser.php error