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

Method GetCategory

validator/validator.pb.go:4016–4021  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4014}
4015
4016func (x *ValidationError) GetCategory() ErrorCategory_Code {
4017 if x != nil && x.Category != nil {
4018 return *x.Category
4019 }
4020 return ErrorCategory_UNKNOWN
4021}
4022
4023func (x *ValidationError) GetDataAmpReportTestValue() string {
4024 if x != nil && x.DataAmpReportTestValue != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected