mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
Add tunnel statistics and an optional CLI dashboard, native sign-in controls and recovery, and broader client certificate support. Include platform integration fixes and the approved release notes.
10 lines
286 B
Rust
10 lines
286 B
Rust
use std::error::Error;
|
|
|
|
use super::{ServerTlsErrorKind, classify_macos_status};
|
|
|
|
pub(super) fn classify(error: &(dyn Error + 'static)) -> Option<ServerTlsErrorKind> {
|
|
error
|
|
.downcast_ref::<security_framework::base::Error>()
|
|
.map(|error| classify_macos_status(error.code()))
|
|
}
|