Improved error responses