github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/encoding/xml/typeinfo.go (about)

     1  // Copyright 2011 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package xml
     6  
     7  import (
     8  	"github.com/shogo82148/std/reflect"
     9  )
    10  
    11  // TagPathErrorは、競合するパスを持つフィールドタグの使用によって
    12  // アンマーシャル処理中に発生したエラーを表します。
    13  type TagPathError struct {
    14  	Struct       reflect.Type
    15  	Field1, Tag1 string
    16  	Field2, Tag2 string
    17  }
    18  
    19  func (e *TagPathError) Error() string