pub fn create_error_response(message: impl Into<String>) -> Response
Creates a response indicating an application-level error.
This is for errors that should be displayed to the end-user, not for protocol errors.