gopkg.in/yaml.v2.decoder.terrors (field)
20 uses
gopkg.in/yaml.v2 (current package)
decode.go#L230: terrors []string
decode.go#L265: d.terrors = append(d.terrors, fmt.Sprintf("line %d: cannot unmarshal %s%s into %s", n.line+1, shortTag(tag), value, out.Type()))
decode.go#L269: terrlen := len(d.terrors)
decode.go#L273: if len(d.terrors) > terrlen {
decode.go#L274: issues := d.terrors[terrlen:]
decode.go#L275: d.terrors = d.terrors[:terrlen]
decode.go#L281: d.terrors = append(d.terrors, e.Errors...)
decode.go#L687: d.terrors = append(d.terrors, fmt.Sprintf("line %d: key %#v already set in map", n.line+1, k.Interface()))
decode.go#L756: d.terrors = append(d.terrors, fmt.Sprintf("line %d: field %s already set in type %s", ni.line+1, name.String(), out.Type()))
decode.go#L776: d.terrors = append(d.terrors, fmt.Sprintf("line %d: field %s not found in type %s", ni.line+1, name.String(), out.Type()))
yaml.go#L131: if len(d.terrors) > 0 {
yaml.go#L132: return &TypeError{d.terrors}
yaml.go#L150: if len(d.terrors) > 0 {
yaml.go#L151: return &TypeError{d.terrors}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |