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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue