junlarsen / RiotQuest

[Deprecated] PHP 7.1+ Library for the Riot Games API
MIT License
8 stars 3 forks source link

Detailed error handling documentation #50

Open WildEgo opened 5 years ago

WildEgo commented 5 years ago

Is your feature request related to a problem? Please describe. Having trouble handling errors since there's no documentation that explains to me how to handle it since it looks like it only throws an exception killing the app right away

Describe the solution you'd like Addition of documentation for error handling

junlarsen commented 5 years ago

I'll improve the documentation sometime over the next few days.

junlarsen commented 5 years ago

I have updated the exception handling docs. Let me know if there are any other things you'd want added to them.

WildEgo commented 5 years ago

Would be nice if you could write down how to stop logging and or log to the main laravel file instead

junlarsen commented 5 years ago

Hey, as of right now there's no way to disable or swap to the Laravel logger. If this is something you'd like to see, please submit a feature request and I'll see what I can come up with.

WildEgo commented 5 years ago

Also documentation wise could it be possible to explain in it how to clear the cache?