code: func (e *MarshalError) Error() string {
  	switch e.ErrorCode {
  	case ErrUnexpectedEnd, ErrBadEnumValue, ErrOverflow:
  		return fmt.Sprintf("xdr:%s: %s - read: '%v'", e.Func, e.Description, e.Value)
  	}
  	return fmt.Sprintf("xdr:%s: %s", e.Func, e.Description)
  }
docs: // Error satisfies the error interface and prints human-readable errors.