code: func (r Result) Get() (runtime.Object, error) {
  	if r.err != nil {
  		// Check whether the result has a Status object in the body and prefer that.
  		return nil, r.Error()
  	}
  	if r.decoder == nil {
  		return nil, fmt.Errorf("serializer for %s doesn't exist", r.contentType)
  	}
  
  	// decode, but if the result is Status return that as an error instead.
  	out, _, err := r.decoder.Decode(r.body, nil, nil)
  	if err != nil {
  		return nil, err
  	}
  	switch t := out.(type) {
  	case *metav1.Status:
  		// any status besides StatusSuccess is considered an error.
  		if t.Status != metav1.StatusSuccess {
  			return nil, errors.FromObject(t)
  		}
  	}
  	return out, nil
  }
docs: // Get returns the result as an object, which means it passes through the decoder.
  // If the returned object is of type Status and has .Status != StatusSuccess, the
  // additional information in Status will be used to enrich the error.