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

Method GetSeverity

validator/validator.pb.go:3974–3979  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3972}
3973
3974func (x *ValidationError) GetSeverity() ValidationError_Severity {
3975 if x != nil && x.Severity != nil {
3976 return *x.Severity
3977 }
3978 return Default_ValidationError_Severity
3979}
3980
3981func (x *ValidationError) GetCode() ValidationError_Code {
3982 if x != nil && x.Code != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected