Improved error response