renamed innerError to child