refactor: remove unused error variant

main
Dominik Nakamura 2 weeks ago
parent a8ad9db37f
commit 0a4f3ad772
No known key found for this signature in database

@ -21,6 +21,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New `source` command for scene items.
- New `InputSettingsChanged` and `SourceFilterSettingsChanged` event.
### Removed
- **BREAKING CHANGE:** Removed the `Error::NoPassword` variant, which was a relic from the previous v4.x API of obs-websocket. The new API doesn't provide any way to tell whether the password is the cause of an authentication error. However, the `WebSocketCloseCode::AuthenticationFailed` is the closest to identifying this error.
## [0.11.5] - 2023-09-04
### Changed

@ -89,9 +89,6 @@ pub enum Error {
/// Optional message to provide additional details about the error.
message: Option<String>,
},
/// The obs-websocket API requires authentication but no password was given.
#[error("authentication required but no password provided")]
NoPassword,
/// Unknown flags were found while trying to parse bitflags.
#[error("value {0} contains unknown flags")]
UnknownFlags(u8),

Loading…
Cancel
Save