urest: make ReportError() public