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

Method GetCode

validator/validator.pb.go:4075–4080  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4073}
4074
4075func (x *ErrorSpecificity) GetCode() ValidationError_Code {
4076 if x != nil && x.Code != nil {
4077 return *x.Code
4078 }
4079 return ValidationError_UNKNOWN_CODE
4080}
4081
4082func (x *ErrorSpecificity) GetSpecificity() int32 {
4083 if x != nil && x.Specificity != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected