Issue #113: Provide better error reporting when errors occur.