Add onError to ReactDOMImg to complement onLoad