cli: report errors