Error states and diagnostics