To have handleError() and handleYoutubeError() sounds like a good idea, I will revise this as you suggested.