mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: streamline error messages
In [0] we agreed on the current format. [0] https://github.com/cloud-hypervisor/cloud-hypervisor/pull/7066 On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
committed by
Bo Chen
parent
40d8f9ee51
commit
90429c56c8
@@ -313,7 +313,7 @@ pub enum VmReceiveMigrationConfigError {
|
||||
#[error("Error parsing receive migration parameters")]
|
||||
ParseError(#[source] OptionParserError),
|
||||
|
||||
#[error("Error validating receive migration parameters")]
|
||||
#[error("Error validating receive migration parameters: {0}")]
|
||||
ValidationError(String),
|
||||
}
|
||||
|
||||
@@ -422,7 +422,7 @@ pub enum VmSendMigrationConfigError {
|
||||
)]
|
||||
InvalidDestinationUrl(#[source] TcpAddressParseError),
|
||||
|
||||
#[error("Error validating send migration parameters")]
|
||||
#[error("Error validating send migration parameters: {0}")]
|
||||
ValidationError(String),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user