1 2 3 4 5 6 7 8 9
use thiserror::Error; #[derive(Debug, Error)] pub enum CommandPoolError { #[error("Error create CommandPool")] CommandPoolCreationFailed(ash::vk::Result), #[error("Error create CommandBuffers")] CommandBuffersCreationFailed(ash::vk::Result), }