Structured errors and raw log access