Commonize Error component. Make sure that all the components use this ErrorComponent so that it would be common for any error