MCPcopy Create free account
hub / github.com/ampproject/amphtml / GetCode

Method GetCode

validator/validator.pb.go:4131–4136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4129}
4130
4131func (x *ErrorFormat) GetCode() ValidationError_Code {
4132 if x != nil && x.Code != nil {
4133 return *x.Code
4134 }
4135 return ValidationError_UNKNOWN_CODE
4136}
4137
4138func (x *ErrorFormat) GetFormat() string {
4139 if x != nil && x.Format != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected