pub fn NetworkAuthenticationRequired( err: impl StdError + Send + Sync + 'static) -> Error
Wraps any error into Error and the status code is StatusCode::NETWORK_AUTHENTICATION_REQUIRED.
Error
StatusCode::NETWORK_AUTHENTICATION_REQUIRED