arch: Improve arch::Error

Remove unused error enum entries, improve wording and derive
thiserror::Error.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-04-20 16:43:53 +01:00
parent 1c786610b7
commit 47529796d0
4 changed files with 24 additions and 23 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ pub enum Error {
impl From<Error> for super::Error {
fn from(e: Error) -> super::Error {
super::Error::X86_64Setup(e)
super::Error::PlatformSpecific(e)
}
}