Versions in this module Expand all Collapse all v3 v3.4.16 Apr 15, 2021 Changes in this version + const EcodeDirNotEmpty + const EcodeEventIndexCleared + const EcodeIndexNaN + const EcodeInvalidField + const EcodeInvalidForm + const EcodeKeyNotFound + const EcodeLeaderElect + const EcodeNodeExist + const EcodeNotDir + const EcodeNotFile + const EcodePrevValueRequired + const EcodeRaftInternal + const EcodeRefreshTTLRequired + const EcodeRefreshValue + const EcodeRootROnly + const EcodeTTLNaN + const EcodeTestFailed + const EcodeUnauthorized + const EcodeWatcherCleared + type Error struct + Cause string + ErrorCode int + Index uint64 + Message string + func NewError(errorCode int, cause string, index uint64) *Error + func NewRequestError(errorCode int, cause string) *Error + func (e Error) Error() string + func (e Error) StatusCode() int + func (e Error) WriteTo(w http.ResponseWriter) error v3.4.15-cyral.1 Apr 15, 2021