MCPcopy
hub / github.com/hashicorp/hcl / Err

Method Err

pos_scanner.go:153–155  ·  view source on GitHub ↗

Err can be called after Scan returns false to determine if the latest read resulted in an error, and obtain that error if so.

()

Source from the content-addressed store, hash-verified

151// Err can be called after Scan returns false to determine if the latest read
152// resulted in an error, and obtain that error if so.
153func (sc *RangeScanner) Err() error {
154 return sc.err
155}

Callers 1

TestPosScannerFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestPosScannerFunction · 0.76