pub fn new_transport_error<S: Into<String>>(
    kind: TransportErrorKind,
    message: S
) -> Error
Expand description

Create a new Error instance of type Transport that wraps a TransportError.