summaryrefslogtreecommitdiff
path: root/server-beta/src/define/ErrorCodes.lua
blob: befb5630d81ef06cf7d154abeb3a79395d2c8d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

return {
    -- Defined by JSON RPC
    ParseError           = -32700,
    InvalidRequest       = -32600,
    MethodNotFound       = -32601,
    InvalidParams        = -32602,
    InternalError        = -32603,
    serverErrorStart     = -32099,
    serverErrorEnd       = -32000,
    ServerNotInitialized = -32002,
    UnknownErrorCode     = -32001,

    -- Defined by the protocol.
    RequestCancelled     = -32800,
}