Send more specific error messages to the client