package
2.7.11
Repository: https://github.com/influxdata/influxdb.git
Documentation: pkg.go.dev

# Functions

ErrCorruptUser is used when the user cannot be unmarshalled from the bytes stored in the kv.
ErrorCode returns the code of the root error, if available; otherwise returns EINTERNAL.
ErrorMessage returns the human-readable message of the error, if available.
ErrorOp returns the op of the error, if available; otherwise return empty string.
ErrUnprocessableUser is used when a user is not able to be processed.
InvalidUserIDError is used when a service was provided an invalid ID.
NewError returns an instance of an error.
UnavailablePasswordServiceError is used if we aren't able to add the password to the store, it means the store is not available at the moment (e.g.
UnexpectedUserBucketError is used when the error comes from an internal system.
UnexpectedUserIndexError is used when the error comes from an internal system.
UserAlreadyExistsError is used when attempting to create a user with a name that already exists.
UserIDAlreadyExistsError is used when attempting to create a user with an ID that already exists.
WithErrorCode sets the code on the error.
WithErrorErr sets the err on the error.
WithErrorMsg sets the message on the error.
WithErrorOp sets the message on the error.

# Constants

action cannot be performed.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
validation failed.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
Some error code constant, ideally we want to define common platform codes here projects on use platform's error, should have their own central place like this.
data type is correct, but out of range.

# Variables

EIncorrectPassword is returned when any password operation fails in which we do not want to leak information.
EIncorrectUser is returned when any user is failed to be found which indicates the userID provided is for a user that does not exist.
EPasswordLength is used when a password is less than the minimum acceptable password length or longer than the maximum acceptable password length.
ErrUserNotFound is used when the user is not found.

# Structs

Error is the error struct of platform.

# Interfaces

HTTPErrorHandler is the interface to handle http error.