feat: integrate chat voice and diagnostics client
This commit is contained in:
@@ -102,13 +102,14 @@ impl From<chanora_core::CoreError> for BridgeError {
|
||||
chanora_core::CoreError::AudioNotStarted => {
|
||||
BridgeError::InvalidCommand("audio not started".to_string())
|
||||
}
|
||||
chanora_core::CoreError::Protocol(chanora_protocol::ProtocolError::DnsFailed {
|
||||
chanora_core::CoreError::Protocol(chanora_core::ProtocolError::DnsFailed {
|
||||
host,
|
||||
reason,
|
||||
}) => BridgeError::DnsFailed { host, reason },
|
||||
chanora_core::CoreError::Protocol(
|
||||
chanora_protocol::ProtocolError::ServerRejected { code, message },
|
||||
) => BridgeError::ServerRejected { code, message },
|
||||
chanora_core::CoreError::Protocol(chanora_core::ProtocolError::ServerRejected {
|
||||
code,
|
||||
message,
|
||||
}) => BridgeError::ServerRejected { code, message },
|
||||
chanora_core::CoreError::Protocol(p) => BridgeError::Connection(format!("{p}")),
|
||||
chanora_core::CoreError::Audio(a) => BridgeError::Connection(format!("audio: {a}")),
|
||||
chanora_core::CoreError::Storage(s) => BridgeError::Connection(format!("storage: {s}")),
|
||||
|
||||
Reference in New Issue
Block a user