Function transport
pub fn transport(msg: impl Into<String>) -> ErrorExpand description
Builds a [Error::Transport] with a text message.
§Examples
use brokapi_core::Error;
assert!(matches!(brokapi_tbank::error::transport("stream closed"), Error::Transport(_)));