···1212 serializer::ButtplugSerializerError,
1313 ButtplugMessageSpecVersion,
1414 ErrorCode,
1515- FeatureType,
1615 InputType,
1716 OutputType,
1817};
···172171 UntypedDeserializedError(String),
173172 /// Device Configuration Error: {0}
174173 DeviceConfigurationError(String),
175175- /// Actuator Type Mismatch: Index {0} got command for {1}, but expects {2}
176176- DeviceActuatorTypeMismatch(u32, OutputType, FeatureType),
177177- /// Sensor Type Mismatch: Index {0} got command for {1}, but expects {2}
178178- DeviceSensorTypeMismatch(u32, InputType, FeatureType),
174174+ /// Output Type Mismatch: Index {0} got command for {1}, which is not valid
175175+ DeviceOutputTypeMismatch(u32, OutputType, OutputType),
176176+ /// Input Type Mismatch: Index {0} got command for {1}, which is not valid
177177+ DeviceInputTypeMismatch(u32, InputType),
179178 /// Protocol does not have an implementation available for Sensor Type {0}
180180- ProtocolSensorNotSupported(InputType),
179179+ ProtocolInputNotSupported(InputType),
181180 /// Device does not support {0}
182182- ActuatorNotSupported(OutputType),
181181+ OutputNotSupported(OutputType),
183182}
184183185184/// Unknown errors occur in exceptional circumstances where no other error type