React JS Error Message Handling | SoftProdigy