Simplified error message handling