MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / input_err

Function input_err

src/pgwire-common/src/codec.rs:334–336  ·  view source on GitHub ↗

Constructs an error indicating that the client has violated the pgwire protocol.

(source: impl Into<Box<dyn std::error::Error + Send + Sync>>)

Source from the content-addressed store, hash-verified

332/// Constructs an error indicating that the client has violated the pgwire
333/// protocol.
334pub fn input_err(source: impl Into<Box<dyn std::error::Error + Send + Sync>>) -> io::Error {
335 io::Error::new(io::ErrorKind::InvalidInput, source.into())
336}

Callers 12

expectFunction · 0.85
decode_sasl_responseFunction · 0.85
decode_closeFunction · 0.85
decode_describeFunction · 0.85
try_fromMethod · 0.85
peek_byteMethod · 0.85
read_cstrMethod · 0.85
read_i16Method · 0.85
read_i32Method · 0.85
read_u32Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected