Added all Error code, pass all currupt testcases