Home / Type/ RedisErrorKey Type — netty Architecture

RedisErrorKey Type — netty Architecture

Architecture documentation for the RedisErrorKey type/interface in FixedRedisMessagePool.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1ee102db_b26a_10b0_78aa_8542f8fbae6c["RedisErrorKey"]
  b50d93b3_4a36_5468_8a9a_7b3a829ede32["FixedRedisMessagePool.java"]
  1ee102db_b26a_10b0_78aa_8542f8fbae6c -->|defined in| b50d93b3_4a36_5468_8a9a_7b3a829ede32
  style 1ee102db_b26a_10b0_78aa_8542f8fbae6c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-redis/src/main/java/io/netty/handler/codec/redis/FixedRedisMessagePool.java lines 38–69

    public enum RedisErrorKey {
        ERR("ERR"),
        ERR_IDX("ERR index out of range"),
        ERR_NOKEY("ERR no such key"),
        ERR_SAMEOBJ("ERR source and destination objects are the same"),
        ERR_SYNTAX("ERR syntax error"),
        BUSY("BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE."),
        BUSYKEY("BUSYKEY Target key name already exists."),
        EXECABORT("EXECABORT Transaction discarded because of previous errors."),
        LOADING("LOADING Redis is loading the dataset in memory"),
        MASTERDOWN("MASTERDOWN Link with MASTER is down and slave-serve-stale-data is set to 'no'."),
        MISCONF("MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. " +
            "Commands that may modify the data set are disabled. Please check Redis logs for details " +
            "about the error."),
        NOREPLICAS("NOREPLICAS Not enough good slaves to write."),
        NOSCRIPT("NOSCRIPT No matching script. Please use EVAL."),
        OOM("OOM command not allowed when used memory > 'maxmemory'."),
        READONLY("READONLY You can't write against a read only slave."),
        WRONGTYPE("WRONGTYPE Operation against a key holding the wrong kind of value"),
        NOT_AUTH("NOAUTH Authentication required.");

        private final String msg;

        RedisErrorKey(String msg) {
            this.msg = msg;
        }

        @Override
        public String toString() {
            return msg;
        }
    }

Frequently Asked Questions

What is the RedisErrorKey type?
RedisErrorKey is a type/interface in the netty codebase, defined in codec-redis/src/main/java/io/netty/handler/codec/redis/FixedRedisMessagePool.java.
Where is RedisErrorKey defined?
RedisErrorKey is defined in codec-redis/src/main/java/io/netty/handler/codec/redis/FixedRedisMessagePool.java at line 38.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free