| 82 | /// Error enum for Buttplug Server configuration errors. |
| 83 | #[derive(Error, Debug)] |
| 84 | pub 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 | } |
no outgoing calls
no test coverage detected