Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Feb 21, 2024
1 parent fe8388f commit 4721fbb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vit-testing/iapyx/src/load/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ mod servicing_station;
pub use artificial_user::{
Config as ArtificialUserLoadConfig, RequestType as ArtificialUserRequestType,
};
pub use node::{Config as NodeLoadConfig, Error as NodeLoadConfigError};
pub use servicing_station::{
Config as ServicingStationLoadConfig, Error as ServicingStationConfigError,
RequestType as ServicingStationRequestType,
Expand Down
3 changes: 3 additions & 0 deletions src/vit-testing/iapyx/src/load/scenario/artificial_users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ impl ArtificialUserLoad {
/// Generator errors
#[derive(Error, Debug)]
pub enum Error {
/// Loading configuration
#[error("configuration error")]
LoadConfig(#[from] crate::load::config::NodeLoadConfigError),
/// Building configuration
#[error("configuration error")]
ServicingConfig(#[from] crate::load::config::ServicingStationConfigError),
Expand Down
3 changes: 3 additions & 0 deletions src/vit-testing/iapyx/src/load/scenario/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ impl NodeLoad {
/// Errors for node load
#[derive(Error, Debug)]
pub enum Error {
/// Configuration error
#[error("config error")]
ConfigError(#[from] crate::load::config::NodeLoadConfigError),
/// Controller errors
#[error("internal error")]
MultiControllerError(#[from] MultiControllerError),
Expand Down

0 comments on commit 4721fbb

Please sign in to comment.