type Validation … func (e *Validation) Error() string { … } // Code the error code func (e *Validation) Code() int32 { … } // ValidateName produces an error message name for an aliased property func (e *Validation) ValidateName(name string) *Validation { … }