code: func IsRequestEntityTooLargeError(err error) bool {
  	if ReasonForError(err) == metav1.StatusReasonRequestEntityTooLarge {
  		return true
  	}
  	switch t := err.(type) {
  	case APIStatus:
  		return t.Status().Code == http.StatusRequestEntityTooLarge
  	}
  	return false
  }
docs: // IsRequestEntityTooLargeError determines if err is an error which indicates
  // the request entity is too large.