Implemented the HAS error component