Documentation ¶
Index ¶
Constants ¶
View Source
const ( EParse = json2.E_PARSE EInvalidReq = json2.E_INVALID_REQ ENoMethod = json2.E_NO_METHOD EBadParams = json2.E_BAD_PARAMS EInternal = json2.E_INTERNAL EServer = json2.E_SERVER EForbidden json2.ErrorCode = -32002 EDuplicate json2.ErrorCode = -32003 EBadCredentials json2.ErrorCode = -32004 ENotFound json2.ErrorCode = -32005 )
Variables ¶
View Source
var Messages = map[json2.ErrorCode]string{ EParse: "Parse error", EInvalidReq: "Invalid Request", ENoMethod: "Method not found", EBadParams: "Invalid params", EInternal: "Internal error", EServer: "Server error", EUnauthorised: "Unauthorized", EForbidden: "Forbidden", EDuplicate: "Duplicate value", EBadCredentials: "Bad credentials", ENotFound: "Not found", }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.