Proper error reporting.