Documentation ¶
Index ¶
- func FieldViolation(field string, err error) *errdetails.BadRequest_FieldViolation
- func InvalidArgumentError(violations []*errdetails.BadRequest_FieldViolation) error
- func UnauthenticatedError(err error) error
- func ValidateEmail(value string) error
- func ValidateEmailId(value int64) error
- func ValidateFullName(value string) error
- func ValidatePassword(value string) error
- func ValidateSecretCode(value string) error
- func ValidateString(value string, minLength int, maxLength int) error
- func ValidateUsername(value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldViolation ¶
func FieldViolation(field string, err error) *errdetails.BadRequest_FieldViolation
func InvalidArgumentError ¶
func InvalidArgumentError(violations []*errdetails.BadRequest_FieldViolation) error
func UnauthenticatedError ¶
func ValidateEmail ¶
func ValidateEmailId ¶
func ValidateFullName ¶
func ValidatePassword ¶
func ValidateSecretCode ¶
func ValidateUsername ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.