updated and simplified errorformats after prob upstream changes to error handling
Fold settings for editting B