MCPcopy Create free account
hub / github.com/envoyproxy/dynamic-modules-examples / create_error_response

Method create_error_response

rust/src/network_redis.rs:312–314  ·  view source on GitHub ↗

Creates a Redis error response.

(message: &str)

Source from the content-addressed store, hash-verified

310
311 /// Creates a Redis error response.
312 pub fn create_error_response(message: &str) -> Vec<u8> {
313 format!("-ERR {}\r\n", message).into_bytes()
314 }
315}
316
317impl RedisFilter {

Callers 1

on_readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected