1 2 3 4 5 6 7 8 9 10 11 12
use thiserror::Error; #[derive(Debug, Error)] pub enum NodeApiError { /// Service id not found #[error("Service with id {0} not found")] ServiceIdNotFound(String), /// Internal server error #[error("Internal server error")] InternalServerError, }