docs: func (s *Shape) ErrorName() string {
  	name := s.ErrorInfo.Type
  	switch s.API.Metadata.Protocol {
  	case "query", "ec2query", "rest-xml":
  		if len(s.ErrorInfo.Code) > 0 {
  			name = s.ErrorInfo.Code
  		}
  	}
  
  	if len(name) == 0 {
  		name = s.OrigShapeName
  	}
  	if len(name) == 0 {
  		name = s.ShapeName
  	}
  
  	return name
  }