Function thrift::new_protocol_error

source ·
pub fn new_protocol_error<S: Into<String>>(
    kind: ProtocolErrorKind,
    message: S
) -> Error
Expand description

Create a new Error instance of type Protocol that wraps a ProtocolError.