mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-18 09:02:04 -04:00
Previously we would return the raw error from strconv.ParseInt, which includes details in its text that expose implementation details and are thus not helpful to the user. Instead, we use a locally-defined error message that talks only about what the caller is expected to know: that count should be parsable as an integer.