binman: Add a consistent way to report errors with fit