More involved error reporting.