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

Method GetCode

validator/validator.pb.go:3981–3986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3979}
3980
3981func (x *ValidationError) GetCode() ValidationError_Code {
3982 if x != nil && x.Code != nil {
3983 return *x.Code
3984 }
3985 return ValidationError_UNKNOWN_CODE
3986}
3987
3988func (x *ValidationError) GetLine() int32 {
3989 if x != nil && x.Line != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected