yay error handling