introduce errbit
Merge branch 'errbit'