Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQLProxyMultiError ¶
type MySQLProxyMultiError []error
MySQLProxyMultiError is an error wrapping multiple validation errors returned by MySQLProxy.ValidateAll() if the designated constraints aren't met.
func (MySQLProxyMultiError) AllErrors ¶
func (m MySQLProxyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MySQLProxyMultiError) Error ¶
func (m MySQLProxyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MySQLProxyValidationError ¶
type MySQLProxyValidationError struct {
// contains filtered or unexported fields
}
MySQLProxyValidationError is the validation error returned by MySQLProxy.Validate if the designated constraints aren't met.
func (MySQLProxyValidationError) Cause ¶
func (e MySQLProxyValidationError) Cause() error
Cause function returns cause value.
func (MySQLProxyValidationError) Error ¶
func (e MySQLProxyValidationError) Error() string
Error satisfies the builtin error interface
func (MySQLProxyValidationError) ErrorName ¶
func (e MySQLProxyValidationError) ErrorName() string
ErrorName returns error name.
func (MySQLProxyValidationError) Field ¶
func (e MySQLProxyValidationError) Field() string
Field function returns field value.
func (MySQLProxyValidationError) Key ¶
func (e MySQLProxyValidationError) Key() bool
Key function returns key value.
func (MySQLProxyValidationError) Reason ¶
func (e MySQLProxyValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.