Now uses error details for reporting