When attribute is not found on a struct, hint to use the `hasattr()` function to avoid an error
Open
enhancement
error msg improvement
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
https://kubernetes.slack.com/archives/CH8KCCKA5/p1602500676363100?thread_ts=1602500071.360700&cid=CH8KCCKA5
Contributor guide
Research direction
Start with the linked Slack discussion to recover the missing context, then reproduce the attribute-not-found error on a struct in ytt. Identify the entry point that formats this error and confirm that the completed change gives users a hint to use hasattr() to avoid it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100