Break render success and error to their respective functions