xencall: convert to using thiserror

This commit is contained in:
Alex Zenla
2024-01-30 18:09:26 -08:00
parent 2eb287bf07
commit d3740bcf7b
8 changed files with 62 additions and 107 deletions

View File

@ -7,7 +7,7 @@ pub enum Error {
#[error("xenstore issue encountered")]
XenStore(#[from] xenstore::error::Error),
#[error("xencall issue encountered")]
XenCall(#[from] xencall::XenCallError),
XenCall(#[from] xencall::error::Error),
#[error("domain does not have a tty")]
TtyNotFound,
#[error("introducing the domain failed")]