TwitchLib.Unity icon indicating copy to clipboard operation
TwitchLib.Unity copied to clipboard

Error handling for API requests?

Open AaronMeyers opened this issue 6 years ago • 2 comments

Sorry if I missed it, but is there some way to handle errors/timeouts with calls to the Twitch API using the API class?

I've noticed that if there is a timeout or a bad parameter, if using API.Invoke(), the callback function just never gets called and if using API.InvokeAsync, the coroutine just never gets beyond the yield return statement.

Is there a way to catch errors and timeouts or is this just something we're supposed to design around?

AaronMeyers avatar Jan 31 '19 20:01 AaronMeyers

I have the same issue??

bruinp8n avatar Aug 21 '20 21:08 bruinp8n

I'd also like to know how we're supposed to handle this...

cai-tan avatar Apr 19 '22 00:04 cai-tan