NXP-15444: consistent error codes for checkOut