mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
api_client: Updated error message for sending fds
Updated error message for the SocketSendFds error to be more descriptive. Signed-off-by: SamrutGadde <samrut.gadde@gmail.com>
This commit is contained in:
parent
51a9f78625
commit
c3d69a9bac
@ -12,7 +12,7 @@ use vmm_sys_util::sock_ctrl_msg::ScmSocket;
|
||||
pub enum Error {
|
||||
#[error("Error writing to or reading from HTTP socket: {0}")]
|
||||
Socket(std::io::Error),
|
||||
#[error("Error writing to or reading from HTTP socket: {0}")]
|
||||
#[error("Error sending file descriptors: {0}")]
|
||||
SocketSendFds(vmm_sys_util::errno::Error),
|
||||
#[error("Error parsing HTTP status code: {0}")]
|
||||
StatusCodeParsing(std::num::ParseIntError),
|
||||
|
Loading…
Reference in New Issue
Block a user