MCPcopy Create free account
hub / github.com/buttplugio/buttplug / ButtplugServerError

Enum ButtplugServerError

crates/buttplug_server/src/lib.rs:84–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82/// Error enum for Buttplug Server configuration errors.
83#[derive(Error, Debug)]
84pub enum ButtplugServerError {
85 /// DeviceConfigurationManager could not be built.
86 #[error("The DeviceConfigurationManager could not be built: {0}")]
87 DeviceConfigurationManagerError(ButtplugDeviceError),
88 /// DeviceCommunicationManager type has already been added to the system.
89 #[error("DeviceCommunicationManager of type {0} has already been added.")]
90 DeviceCommunicationManagerTypeAlreadyAdded(String),
91 /// Protocol has already been added to the system.
92 #[error("Buttplug Protocol of type {0} has already been added to the system.")]
93 ProtocolAlreadyAdded(String),
94 /// Requested protocol has not been registered with the system.
95 #[error("Buttplug Protocol of type {0} does not exist in the system and cannot be removed.")]
96 ProtocolDoesNotExist(String),
97}

Callers 2

reset_buttplug_serverFunction · 0.85
setup_buttplug_serverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected