polars_parquet_format::thrift

Function 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.