victorwrotethis / streamer-endpoints

Rest endpoints meant for usage with nightbot in twitch
MIT License
0 stars 1 forks source link

Introduce flow for when a user is not currently streaming. #10

Closed victorwrotethis closed 4 years ago

victorwrotethis commented 4 years ago

Currently when a user is not streaming it will generate errors. The endpoints should provide clear error messages to the end-user.

davidwisniowski commented 4 years ago

hey. for that case i would throw a TwitchApiException with the specific message (e.g. "The User with ID {id} is not streaming currently" and print a clear message to the user as string.

method: retrieveStreamByUserId

if it's ok just assign it to me.