Update liboi error function.