File: errors.lua

package info (click to toggle)
lua-nginx-kafka 0.07-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 176 kB
  • sloc: makefile: 20
file content (25 lines) | stat: -rw-r--r-- 710 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- Copyright (C) Dejiang Zhu(doujiang24)


local _M = {
    [0]     = 'NoError',
    [-1]    = 'Unknown',
    [1]     = 'OffsetOutOfRange',
    [2]     = 'InvalidMessage',
    [3]     = 'UnknownTopicOrPartition',
    [4]     = 'InvalidMessageSize',
    [5]     = 'LeaderNotAvailable',
    [6]     = 'NotLeaderForPartition',
    [7]     = 'RequestTimedOut',
    [8]     = 'BrokerNotAvailable',
    [9]     = 'ReplicaNotAvailable',
    [10]    = 'MessageSizeTooLarge',
    [11]    = 'StaleControllerEpochCode',
    [12]    = 'OffsetMetadataTooLargeCode',
    [14]    = 'OffsetsLoadInProgressCode',
    [15]    = 'ConsumerCoordinatorNotAvailableCode',
    [16]    = 'NotCoordinatorForConsumerCode',
}


return _M