Make NBKR class to process errors and status codes correctly