error reporting in full example