Lines Matching refs:Error
61 pub use error::{Error, IntegrationError, Result};
255 let boot_token = BOOT_TOKEN.lock().take().ok_or(Error::OperationProhibited)?; in load_slot_interface()
258 .map_err(|_| Error::OperationProhibited.into()) in load_slot_interface()
466 Err(IntegrationError::GblNativeError(Error::NotImplemented)) => (), in lvb_inner()
505 let boot_image = boot_image.ok_or(Error::MissingImage)?; in lvb_inner()
506 let vendor_boot_image = vendor_boot_image.ok_or(Error::MissingImage)?; in lvb_inner()
507 let init_boot_image = init_boot_image.ok_or(Error::MissingImage)?; in lvb_inner()
516 return Err(IntegrationError::GblNativeError(Error::BufferOverlap)); in lvb_inner()
532 let token = slot_cursor.ctx.mark_boot_attempt().map_err(|_| Error::OperationProhibited)?; in lvb_inner()
548 .or(Err(Error::ArithmeticOverflow))?; in zircon_load_and_boot()
555 Err(Error::BootFailed.into()) in zircon_load_and_boot()