add nbapi error definition