[#4] Added IJError to handle failure responses from server