13 lines
252 B
Go
13 lines
252 B
Go
package protocol
|
|
|
|
type ErrorCode int
|
|
|
|
const (
|
|
E_PARSE ErrorCode = -32700
|
|
E_INVALID_REQ ErrorCode = -32600
|
|
E_NO_METHOD ErrorCode = -32601
|
|
E_BAD_PARAMS ErrorCode = -32602
|
|
E_INTERNAL ErrorCode = -32603
|
|
E_SERVER ErrorCode = -32000
|
|
)
|