NtsError.network constructor
const
NtsError.network({
- required String message,
- TrustBackend? trustBackend,
TCP/UDP I/O error or connection failure. trustBackend carries
the per-handshake trust-anchor backend resolved before the
failure fired (when the failure happened post-build_tls_config),
or null when the failure pre-dated config construction.
Implementation
const factory NtsError.network({
required String message,
TrustBackend? trustBackend,
}) = NtsErrorNetwork;