Rudimentary error reporting.