Implemented error handling in DB schema upload and delete functionalities